PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-coin-dot/src/lib

Просмотр файла: errors.ts

import { BuildTransactionError } from '@bitgo/sdk-core';

export class AddressValidationError extends BuildTransactionError {
  constructor(malformedAddress: string) {
    super(`The address '${malformedAddress}' is not a well-formed dot address`);
    this.name = AddressValidationError.name;
  }
}

export class InvalidFeeError extends BuildTransactionError {
  constructor(type?: string, expectedType?: string) {
    super(`The specified type: "${type}" is not valid. Please provide the type: "${expectedType}"`);
    this.name = InvalidFeeError.name;
  }
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!