easypay-nestjs
Version:
easypay for iranian payment gateways
16 lines (15 loc) • 378 B
TypeScript
export type NovinpalError = NovinpalErrorDocumented | NovinpalErrorNotDocumented;
export interface NovinpalErrorDocumented {
status: number;
errorCode: number;
errorDescription: string;
}
export interface NovinpalErrorNotDocumented {
id: string;
code: number;
message: string;
errors: Errors;
}
export interface Errors {
[key: string]: string;
}