- WriteError(cause, stack?): {
cause: string;
stack: undefined | string;
type: "write-error";
}
-
Parameters
-
cause: string
-
Optional
stack: string
Returns {
cause: string;
stack: undefined | string;
type: "write-error";
}
-
cause: string
-
stack: undefined | string
-
type: "write-error"
Creates a [IOError] for a faulty write operation.