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