Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JSONFileHandlerError

Extends Error by adding the code and path properties that are present in SystemError.

Hierarchy

  • Error
    • JSONFileHandlerError

Index

Constructors

Properties

Constructors

constructor

  • new JSONFileHandlerError(code: keyof typeof JSONFileHandlerErrorMessage, filePath: string): JSONFileHandlerError

Properties

code

code: string

message

message: string

name

name: string

path

path: string

The file that caused the error (useful when multiple files are manipulated)

Optional stack

stack: string

Static Error

Error: ErrorConstructor

Generated using TypeDoc