channelape-sdk
Version:
A client for interacting with ChannelApe's API
14 lines (13 loc) • 521 B
TypeScript
import { AxiosResponse } from 'axios';
import ChannelApeApiError from '../model/ChannelApeApiError';
export default class ChannelApeError extends Error {
private readonly apiErrors;
private readonly responseStatusCode;
private readonly responseStatusMessage;
constructor(message: string, response: AxiosResponse | undefined, uri: string, apiErrors: ChannelApeApiError[]);
get Response(): {
statusCode: number;
statusMessage: string;
};
get ApiErrors(): ChannelApeApiError[];
}