Open richardrandak opened 2 years ago
1) Some error responses don't follow the standard error JSON scheme. One example is expired token resulting in 401 and payload
{ "message": "unauthorized" }
2) Add error constants (codes or messages) to allow users to implement decision-making based on specific errors.
RFC 7807 might be of interest.
1) Some error responses don't follow the standard error JSON scheme. One example is expired token resulting in 401 and payload
2) Add error constants (codes or messages) to allow users to implement decision-making based on specific errors.