Skip to content

Conversation

onlinesid
Copy link
Contributor

And unknown format no longer generate error

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't use such a meaningless names

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, it's better to use meaningless very short names for variables that are being used temporarily and locally within such a small method, but fine I'll change the name.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you never know if this method will be larger in the future

@Maks3w
Copy link
Contributor

Maks3w commented Jun 11, 2015

Needs rebase

.gitignore Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move these to you global ignore

@bighappyface
Copy link
Collaborator

@onlinesid thanks for the rebase. Would you please squash this down to a single commit?

…or custom error messages

* Added more information to the error message of StringConstraint
* Added more information to the Constraint addError
* Unknown format does not generate error
* Updated the test so that unknown format does not throw an error
* Make messages to start with a capital letter consistently
@onlinesid
Copy link
Contributor Author

I've squashed into a single commit now

@bighappyface
Copy link
Collaborator

@Maks3w what are your thoughts on the the version number to iterate to when this is merged?

bighappyface added a commit that referenced this pull request Nov 8, 2015
Optional extra arguments for custom error messages
@bighappyface bighappyface merged commit 043bc7c into jsonrainbow:master Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants