Skip to content

Commit

Permalink
fix: wording of limit exceeded error
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Nov 7, 2024
1 parent 776613d commit be0786b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/Errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
code: concatErrorCode(ErrorCodePrefix.Service, 5),
}),
EXCEED_MAXIMAL_AMOUNT: (amount: number, maximalAmount: number): Error => ({
message: `${amount} is exceeds maximal of ${maximalAmount}`,
message: `${amount} exceeds maximal of ${maximalAmount}`,
code: concatErrorCode(ErrorCodePrefix.Service, 6),
}),
BENEATH_MINIMAL_AMOUNT: (amount: number, minimalAmount: number): Error => ({
Expand Down

0 comments on commit be0786b

Please sign in to comment.