@rebilly/framepay-react
Version:
A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features
13 lines (10 loc) • 320 B
TypeScript
interface ErrorCodes {
readonly elementMountError: string;
readonly initializeError: string;
readonly remoteScriptError: string;
}
interface DefaultErrorMessages {
readonly [key: string]: string;
}
type FramePayErrorCode = valueof<ErrorCodes>;
type DefaultErrorMessage = valueof<DefaultErrorMessages>;