Sha256: 3c6ffc0de7446841b0fe77a1c2028b95379e2400ff1292dbca14a44ec0386f4c

Contents?: true

Size: 1.4 KB

Versions: 10

Compression:

Stored size: 1.4 KB

Contents

module Vedeu

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

  end # ModeSwitch

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

  end # InvalidSyntax

  # Raised when a name is not provided for a model when attempting to store it
  # in a repository.
  #
  # @api private
  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
  #
  # @api private
  class ModeSwitch < StandardError

  end # ModeSwitch

  # Raised to remind me (or client application developers) that the subclass
  # implements the functionality sought.
  #
  # @see Vedeu::Translator
  #
  # @api private
  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
  #
  # @api private
  class OutOfRange < StandardError

  end # OutOfRange

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

  end # VedeuInterrupt

end # Vedeu

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.4.53 lib/vedeu/exceptions.rb
vedeu-0.4.52 lib/vedeu/exceptions.rb
vedeu-0.4.51 lib/vedeu/exceptions.rb
vedeu-0.4.50 lib/vedeu/exceptions.rb
vedeu-0.4.49 lib/vedeu/exceptions.rb
vedeu-0.4.48 lib/vedeu/exceptions.rb
vedeu-0.4.47 lib/vedeu/exceptions.rb
vedeu-0.4.46 lib/vedeu/exceptions.rb
vedeu-0.4.45 lib/vedeu/exceptions.rb
vedeu-0.4.44 lib/vedeu/exceptions.rb