Artifact Content
Not logged in

Artifact ceb7ccf65276ed659b215765f7c44ec78aa05b0a:


class InvalidFieldsError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'InvalidFieldsError'
  }
}

class TransferNotFoundError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'TransferNotFoundError'
  }
}

class MissingFulfillmentError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'MissingFulfillmentError'
  }
}

class NotAcceptedError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'NotAcceptedError'
  }
}

class AlreadyRolledBackError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'AlreadyRolledBackError'
  }
}

class AlreadyFulfilledError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'AlreadyFulfilledError'
  }
}

class DuplicateIdError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'DuplicateIdError'
  }
}

class TransferNotConditionalError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'TransferNotConditionalError'
  }
}

class RequestHandlerAlreadyRegisteredError extends Error {
  constructor () {
    super(...arguments)
    this.name = 'RequestHandlerAlreadyRegisteredError'
  }
}

module.exports = {
  AlreadyFulfilledError,
  AlreadyRolledBackError,
  InvalidFieldsError,
  TransferNotFoundError,
  TransferNotConditionalError,
  DuplicateIdError,
  MissingFulfillmentError,
  NotAcceptedError,
  RequestHandlerAlreadyRegisteredError
}