- ReadError(cause, stack?): { 
 cause: string;
 stack: undefined | string;
 type: "read-error";
 }
- 
Parameters
- 
cause: string
- 
Optionalstack: 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.