UNPKG

@exodus/react-native-payments

Version:

[![react-native version](https://img.shields.io/badge/react--native-0.41-0ba7d3.svg?style=flat-square)](http://facebook.github.io/react-native/releases/0.40) [![npm](https://img.shields.io/npm/v/react-native-payments.svg?style=flat-square)](https://www.np

22 lines (21 loc) 684 B
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 {};