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