Skip to content

Latest commit

 

History

History
94 lines (51 loc) · 2.21 KB

standarderror.md

File metadata and controls

94 lines (51 loc) · 2.21 KB

@bigcommerce/checkout-sdkStandardError

Class: StandardError

This error type should not be constructed directly. It is a base class for all custom errors thrown in this library.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

+ new StandardError(message?: undefined | string): StandardError

Parameters:

Name Type
message? undefined | string

Returns: StandardError

Properties

message

message: string

Implementation of CustomError.message

Inherited from AmazonPayWidgetError.message


name

name: string

Implementation of CustomError.name

Overrides AmazonPayWidgetError.name


Optional stack

stack? : undefined | string

Implementation of CustomError.stack

Inherited from AmazonPayWidgetError.stack

Overrides AmazonPayWidgetError.stack


type

type: string

Implementation of CustomError.type


Static Error

Error: ErrorConstructor