You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was initially described in #212. Please add new class derived from std::system_error, and derive all jwt-cpp exceptions from it. This would allow to write bigger block of code, and at the end add few catch sections for different kinds of errors (e.g. network error, jwt validation error, etc.). You also could store some extra information in additional fields of exception class, e.g. name of claim which did not pass validation.
Desktop:
OS: RedHat 8
Compiler g++ 10.3.1
Version jwt-cpp v0.6.0
The text was updated successfully, but these errors were encountered:
Thalhammer
changed the title
[bug] Use new common base class for all exceptions thrown by jwt-cpp
[Enhancement] Use common base class for all exceptions thrown by jwt-cpp
Feb 28, 2022
prince-chrismc
changed the title
[Enhancement] Use common base class for all exceptions thrown by jwt-cpp
Use common base class for all exceptions thrown by jwt-cpp
Mar 14, 2022
This was initially described in #212. Please add new class derived from
std::system_error
, and derive all jwt-cpp exceptions from it. This would allow to write bigger block of code, and at the end add few catch sections for different kinds of errors (e.g. network error, jwt validation error, etc.). You also could store some extra information in additional fields of exception class, e.g. name of claim which did not pass validation.Desktop:
The text was updated successfully, but these errors were encountered: