Exception: Vedeu::Error::OutOfRange Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vedeu/error.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Raised when trying to access an interface column less than 1 or greater than 12. Vedeu is hard-wired to a 12-column layout for the time being.

Raises:

  • (Vedeu::Error::OutOfRange)

    When the value given for an argument or parameter cannot be used because it is outside the allowed range.

See Also:

Instance Method Summary collapse

Instance Method Details

#messageString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns an error message.

Returns:

  • (String)


134
135
136
# File 'lib/vedeu/error.rb', line 134

def message
  'Valid value is between 1 and 12 inclusive.'
end