UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 286 B
import{hasNodeErrorCode as e,isNodeError as t}from"@openclaw/fs-safe/path";function isMissingPathError(t){return e(t,`ENOENT`)||e(t,`ENOTDIR`)||e(t,`not-found`)}function ignoreMissingPath(t){if(!e(t,`ENOENT`))throw t}export{isMissingPathError as i,ignoreMissingPath as n,t as r,e as t};