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