hiero-ledger / hiero-ledger/hiero-consensus-node
Return a more precise message when throttles have been exceeded.
Open
Execution Team
Team Promoted
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
### Problem
Currently, when a throttle was been exceeded, the node returns a `BUSY` message. The message can be made more useful if the returned message was more specific on which throttle was breached.
### Solution
Instead of returning a boolean value that indicates whether a throttle has been exceeded, return an enum to indicate which throttle was breached. This way a more informative status message can be returned to the caller.
### Alternatives
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.