Sha256: 19c65995f2f4c340e9592d30d506716e16808fd7c77dcbc61b887a7f0ffc71c6
Contents?: true
Size: 1.3 KB
Versions: 24
Compression:
Stored size: 1.3 KB
Contents
/** * @fileoverview Common error classes * @author Nicholas C. Zakas */ /** * Error thrown when a file or directory is not found. */ export class NotFoundError extends Error { /** * Creates a new instance. * @param {string} message The error message. */ constructor(message: string); /** * Error code. * @type {string} */ code: string; } /** * Error thrown when an operation is not permitted. */ export class PermissionError extends Error { /** * Creates a new instance. * @param {string} message The error message. */ constructor(message: string); /** * Error code. * @type {string} */ code: string; } /** * Error thrown when an operation is not allowed on a directory. */ export class DirectoryError extends Error { /** * Creates a new instance. * @param {string} message The error message. */ constructor(message: string); /** * Error code. * @type {string} */ code: string; } /** * Error thrown when a directory is not empty. */ export class NotEmptyError extends Error { /** * Creates a new instance. * @param {string} message The error message. */ constructor(message: string); /** * Error code. * @type {string} */ code: string; }
Version data entries
24 entries across 24 versions & 2 rubygems