Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResolutionError

Resolution Error class is designed to control every error being thrown by Resolution

param

Error Code

  • UnsupportedDomain - domain is not supported by current Resolution instance
  • NamingServiceDown - blockchain API is down
  • UnregisteredDomain - domain is not owned by any address
  • UnspecifiedResolver - domain has no resolver specified
  • UnspecifiedCurrency - domain resolver doesn't have any address of specified currency
  • UnsupportedCurrency - currency is not supported
  • IncorrectResolverInterface - ResolverInterface is incorrected
  • RecordNotFound - No record was found
param

Domain name that was being used

param

Hierarchy

Index

Constructors

constructor

Properties

Readonly code

Optional Readonly currencyTicker

currencyTicker: undefined | string

Optional Readonly domain

domain: undefined | string

message

message: string

Optional Readonly method

method: undefined | string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc