-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91623e2
commit b9eba11
Showing
3 changed files
with
46 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @description pagination errors names | ||
* @returns the name value of the pagination error | ||
* @example | ||
*/ | ||
export const paginationNameValueError = { | ||
ORDER_BY_NAME_VALUE_ERROR: 'OrderByNameValueError', | ||
ORDER_AT_NAME_VALUE_ERROR: 'OrderAtNameValueError', | ||
}; | ||
|
||
/** | ||
* @description pagination errors description | ||
* @returns the description value of the pagination error | ||
* @example | ||
*/ | ||
export const paginationDescriptionValueError = { | ||
ORDER_BY_DESCRIPTION_VALUE_ERROR: | ||
'It is not possible to apply sorting based on the requested orderBy value. Invalid field', | ||
ORDER_AT_DESCRIPTION_VALUE_ERROR: | ||
'It is not possible to apply sorting based on the requested orderAt value. Invalid field', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters