UNPKG

metaapi.cloud-sdk

Version:

SDK for MetaApi, a professional cloud forex API which includes MetaTrader REST API and MetaTrader websocket API. Supports both MetaTrader 5 (MT5) and MetaTrader 4 (MT4). CopyFactory copy trading API included. (https://metaapi.cloud)

18 lines (14 loc) 282 B
'use strict'; /** * Error which indicates a timeout */ export default class TimeoutError extends Error { /** * Constructs the timeout error * @param {String} message error message */ constructor(message) { super(message); this.name = 'TimeoutError'; } }