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