class InvalidPathError extends Error { name = 'InvalidPathError' ; constructor ( message ? ) { super ( message ) ; Object . setPrototypeOf ( this , InvalidPathError . prototype ) ; } } export default InvalidPathError ;