docs: function exception(exceptionObj) {
    const errorMessage = getErrorMessage(exceptionObj);
    const errorDetails = getErrorDetails(exceptionObj);
  
    return {
      ok: false,
      error: errorMessage,
      details: errorDetails,
    };
  }