FileOpenError
The only error a file opener rejects with.
This is a class exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { FileOpenError } from "@mapcairn/core";
class FileOpenError extends Error
Constructors
(constructor)
constructor(kind: FileOpenErrorKind, message?: string);
Constructs a new instance of the FileOpenError class
kind(FileOpenErrorKind)message?(string)
Properties
kind
readonly kind: FileOpenErrorKind;
Why no file was read: cancelled, too-large, unreadable or unsupported.