Skip to content

add new ArgumentError for not defined user_class in config#82

Merged
Ch4s3 merged 2 commits intoSorcery:masterfrom
X1ting:more-human-readable-error
Nov 28, 2017
Merged

add new ArgumentError for not defined user_class in config#82
Ch4s3 merged 2 commits intoSorcery:masterfrom
X1ting:more-human-readable-error

Conversation

@X1ting
Copy link
Copy Markdown
Contributor

@X1ting X1ting commented Sep 11, 2017

I add these error, because earlier, if we forgot to define user_class (f.e. not add sorcery.rb to initializers) we got just NameError, which not easy to google for newbie developers.

@Ch4s3
Copy link
Copy Markdown
Contributor

Ch4s3 commented Nov 28, 2017

Thanks @X1ting!

@Ch4s3 Ch4s3 merged commit fc8f128 into Sorcery:master Nov 28, 2017
ebihara99999 pushed a commit to ebihara99999/sorcery that referenced this pull request Mar 10, 2018
* add new ArgumentError for not defined user_class in config

* updated grammar
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.

2 participants