Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlloyMapError

an alloy map error, contains detailed error information about map exceptions

Hierarchy

Index

Constructors

constructor

  • new AlloyMapError(code: string | number, message: string, options?: undefined | { category?: undefined | string; data?: any; httpStatusCode?: undefined | number }): AlloyMapError
  • creates a new instance

    Parameters

    • code: string | number

      the error code, must be unique

    • message: string

      the error message for developers

    • Optional options: undefined | { category?: undefined | string; data?: any; httpStatusCode?: undefined | number }

      the optional options for the error

    Returns AlloyMapError

Properties

Optional category

category: undefined | string

the optional error category

code

code: string

the error code

Optional data

data: any

the optional error data

Optional httpStatusCode

httpStatusCode: undefined | number

the optional http status code, usually from a tile request

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc