Sha256: fd84ddca0c4bd1eb58c8f1e69f6c8b321f8e2a8f3527c6a6856c878f78bad83a
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
module Vedeu # Raised with Vedeu attempts to access a named model that does not exist. ModelNotFound = Class.new(StandardError) # Raised when Vedeu attempts to parse a {Vedeu.view} or {Vedeu.interface} and # encounters a problem. InvalidSyntax = Class.new(StandardError) # Raised when attempting to assign a key which is already in use. KeyInUse = Class.new(StandardError) # Raised when the attributes argument to {Vedeu::Registrar} does not contain # a required key or the value to that key is nil or empty. MissingRequired = Class.new(StandardError) # Raised intentionally when the client application wishes to switch between # cooked and raw (or vice versa) terminal modes. Vedeu is hard-wired to use # the `Escape` key to trigger this change for the time being. ModeSwitch = Class.new(StandardError) # Raised when attempting to reach the currently in focus interface, when no # interfaces have been defined yet. NoInterfacesDefined = Class.new(StandardError) # Raised to remind me (or client application developers) that the subclass # implements the functionality sought. NotImplemented = Class.new(StandardError) # 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. OutOfRange = Class.new(StandardError) end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.2.12 | lib/vedeu/support/exceptions.rb |
vedeu-0.2.11 | lib/vedeu/support/exceptions.rb |