constructor (message, code) {
    super(message, code)

    this.name = 'TransactionError'
  }
Creates a new TransactionError.

@param {String} message Error message.
@param {String} [code] Error code.