Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CrtError

Represents an error encountered in native code. Can also be used to convert a numeric error code into a human-readable string.

Hierarchy

Index

Constructors

constructor

  • var

    error - The original error. Most often an error_code, but possibly some other context

    Parameters

    • error: any

    Returns CrtError

Properties

Readonly error

error: any

Optional Readonly error_code

error_code: number

The original integer error code from the CRT

Optional Readonly error_name

error_name: string

The translated error name (e.g. AWS_ERROR_UNKNOWN)

message

message: string

name

name: string

Optional stack

stack: string

Static Error

Error: ErrorConstructor

Generated using TypeDoc