UNPKG

bittrex-api-client

Version:

A client which can be used to interact with Bittrex's API. Entirely developed in TypeScript.

10 lines (8 loc) 227 B
/** * Represents an error returned from Bittrex during the API usage. */ export class ApiError extends Error { constructor( response: any ) { super( `Bittrex returned ${ JSON.stringify( response ) }` ); } }