# Functions
Cause returns the original error of a traceable error If the error is not traceable, it returns itself.
CustomError returns an error message without reporting to sentry.
CustomErrorJSON returns a JSON without reporting to sentry.
CustomErrorSentry returns an error message after reporting to sentry (if environment is not local).
Recovery handles the panic happening on any function, this is to be called by defer in functions.
RecoveryNoResponse handles the panic happening on any function, this is to be called by defer in functions.
No description provided by the author
StackTrace returns the stack trace with given error If the error is not traceable, empty string is returned.
Wrap wraps an error into a traceable error.
# Variables
NoEligibilityError User is not eligible for loan.
# Structs
MiddlewareError represet error codes.