Preview: PodioError.d.ts
Size: 468 B
/var/www/podio-api-client/lib/exceptions/PodioError.d.ts
import { PodioErrorResponse } from '../types/podioError.type';
/**
* Podio error base class.
* All the podio related error class will inherit from this base class.
*
*/
export default class PodioError extends Error {
readonly message: string;
readonly response: PodioErrorResponse;
readonly statusCode: number;
/**
*
* @param {string} message
*/
constructor(message: string, response: PodioErrorResponse, statusCode?: number);
}
Directory Contents
Dirs: 0 × Files: 18