class Otoroshi::AssertError

Manages errors raised when value does not pass the assertion

Public Class Methods

new(property) click to toggle source

@param property [Symbol] name of the property @example

":number does not respect the assertion"
Calls superclass method
# File lib/otoroshi/exceptions.rb, line 38
def initialize(property)
  super ":#{property} does not respect the assertion"
end