Open kuon opened 9 years ago
Instead of raising strings, raise actual error class.
For example:
raise "invalid spec" unless type # becomes raise Shin::Errors::InvalidSpec unless type
Instead of raising strings, raise actual error class.
For example: