Sha256: 2050fc223b97384fd2937642908e0363d0234aec342e96fc6939c371754944c3

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

module Vedeu

  # Raised with Vedeu attempts to access a named model that does not exist.
  #
  class ModelNotFound < StandardError

  end # ModeSwitch

  # Raised when Vedeu attempts to parse a {Vedeu.view} or {Vedeu.interface} and
  # encounters a problem.
  #
  class InvalidSyntax < StandardError

  end # InvalidSyntax

  # Raised when a name is not provided for a model when attempting to store it
  # in a repository.
  #
  class MissingRequired < StandardError

  end # MissingRequired

  # Raised intentionally when the client application wishes to switch between
  # cooked and raw (or vice versa) terminal modes.
  #
  # @see Vedeu::Application
  #
  class ModeSwitch < StandardError

  end # ModeSwitch

  # Raised to remind me (or client application developers) that the subclass
  # implements the functionality sought.
  #
  # @see Vedeu::ColourTranslator
  #
  class NotImplemented < StandardError

  end # NotImplemented

  # 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.
  #
  # @see Vedeu::Grid
  #
  class OutOfRange < StandardError

  end # OutOfRange

  # Raised when Vedeu wishes to exit.
  #
  # @see Vedeu::MainLoop
  #
  class VedeuInterrupt < StandardError

  end # VedeuInterrupt

end # Vedeu

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.4.59 lib/vedeu/exceptions.rb
vedeu-0.4.58 lib/vedeu/exceptions.rb
vedeu-0.4.57 lib/vedeu/exceptions.rb