// NewErrUnauthorized returns a new ErrUnauthorized with custom error message
NewErrUnauthorized returns a new ErrUnauthorized with custom error message
// NewErrUnauthorized returns a new ErrUnauthorized with custom error message
func NewErrUnauthorized(message string) error {
	return &ErrorWithStatusCode{
		error:      errors.New(message),
		statusCode: http.StatusUnauthorized,
	}
}
func NewErrUnauthorized ( message string ) error { return & ErrorWithStatusCode { error : errors . New ( message ) , statusCode : http . StatusUnauthorized , } }
NewErrUnauthorized returns a new ErrUnauthorized with custom error message
NewErrUnauthorized returns a new ErrUnauthorized with custom error message