lib/generators/templates/exception_module.rb in errational-0.7.1 vs lib/generators/templates/exception_module.rb in errational-0.8.16

- old
+ new

@@ -1,10 +1,10 @@ # This module is where you can override the default behavior of exception classes or add other exception classes. # The default behavior of the exception classes is to create an exception with the message of the constant. # Exception classes that override generated exception classes must be defined as children of their parent module's generated class. # Example: # module ApplicationException -# include ErrorHandlingClass +# include Errationalify # # class ServiceFault < Loggable # def initialize(service_name) # message = sprintf(ApplicationError::SERVICE_FAULT, service_name) # end \ No newline at end of file