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