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