FileFailure
@forge/monorepo / backend/src / FileFailure
Type Alias: FileFailure
FileFailure =
object
Defined in: backend/src/toolkit/files.ts:65
Why a file operation did not happen.
A reason, not an exception, for the reason HttpFailure gives: a refused path is information the model can
act on, and a thrown error reads as "something broke", which invites an identical retry.
Properties
kind
readonlykind:"forbidden"|"not-found"|"not-a-file"|"not-a-directory"|"unreadable"|"too-many"
Defined in: backend/src/toolkit/files.ts:68
ok
readonlyok:false
Defined in: backend/src/toolkit/files.ts:66
path
readonlypath:string
Defined in: backend/src/toolkit/files.ts:67
reason
readonlyreason:string
Defined in: backend/src/toolkit/files.ts:69