docs: function error(errorObj) {
    try {
      this.logger.error(
        `Exception thrown by Swatch handler: ${util.inspect(errorObj)}`,
      );
  
      // Allow client to rescue the exception and return a value
      //  which we send back to the client as a success response
      const result = this.request.onException(errorObj);
  
      this.logger.warn(
        `Exception was rescued... Success response: ${util.inspect(result)}`,
      );
  
      return success(result);
    } catch (exceptionObj) {
      this.logger.error(
        `Exception was re-thrown...: ${util.inspect(exceptionObj)}`,
      );
  
      // Check for the internal error code/string from the `errorObj`
      return exception(exceptionObj);
    }
  }