Sha256: ad6c892deeeb8bade8ed1617ebbb115183179bc489dc1be8f32b7be198943438

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

module StandardExceptions::ApplicationMethods

	include ::StandardExceptions::Application

	module_function

  def validation_failed!(message=nil)
    raise ValidationFailed.new(message)
  end

	def failed!(message=nil)
    raise Failed.new(message)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
standard_exceptions-0.1.4.1 lib/standard_exceptions/application_methods.rb
standard_exceptions-0.1.4 lib/standard_exceptions/application_methods.rb
standard_exceptions-0.1.3 lib/standard_exceptions/application_methods.rb