import{__exports as r}from"../../../../../_virtual/error.mjs";import{__require as t}from"../../utils/index.mjs";var e;function s(){if(e)return r;e=1,Object.defineProperty(r,"__esModule",{value:!0});const s=t();return r.default=class{constructor(r){this._settings=r}getFilter(){return r=>this._isNonFatalError(r)}_isNonFatalError(r){return s.errno.isEnoentCodeError(r)||this._settings.suppressErrors}},r}export{s as __require};