@exodus/react-native-payments
Version:
[](http://facebook.github.io/react-native/releases/0.40) [](https://www.np
22 lines (21 loc) • 684 B
TypeScript
import ExtendableError from 'es6-error';
declare const ERROR_MESSAGES: {
AbortError: string;
InvalidStateError: string;
NotAllowedError: string;
NotSupportedError: string;
SecurityError: string;
};
declare class ReactNativePaymentsError extends ExtendableError {
constructor(errorMessage: string);
}
export declare class DOMException extends ReactNativePaymentsError {
constructor(errorType: keyof typeof ERROR_MESSAGES);
}
export declare class TypeError extends ReactNativePaymentsError {
constructor(errorMessage: string);
}
export declare class ConstructorError extends ReactNativePaymentsError {
constructor(errorMessage: string);
}
export {};