paradigmatic / Configrity

Simple, immutable and flexible configuration library for scala.
Other
132 stars 19 forks source link

Include key in NoSuchElementException message #11

Closed jvirtanen closed 12 years ago

jvirtanen commented 12 years ago

If a Configuration does not contain a key, Configuration#apply throws a NoSuchElementException with the message "None.get". As this is not very useful for troubleshooting, replace the message with the key in question.

jvirtanen commented 12 years ago

Thanks!