Sha256: 9125ac77cf3917e16bfb2f9836663cf3d2e3b420b51848be174927ca7444f2d7

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

# -*- encoding: utf-8 -*-

module WatchTower
  # Global Error
  WatchTowerError = Class.new Exception

  # Exceptions raised by the Project module
  ProjectError = Class.new WatchTowerError
  FileNotFound = Class.new ProjectError

  # Exception raised by the Path module
  PathError = Class.new ProjectError
  PathNotUnderCodePath = Class.new PathError

  # Appscript errors
  AppscriptNotLoadedError = Class.new WatchTowerError

  # Exception raised by the Editor module
  EditorError = Class.new WatchTowerError
  TextmateError = Class.new EditorError
  XcodeError = Class.new EditorError
  VimError = Class.new EditorError
  VimVersionNotPrinted = Class.new VimError

  # Exceptions raised by the Server module
  ServerError = Class.new WatchTowerError
  DatabaseError = Class.new ServerError
  DatabaseConfigNotFoundError = Class.new DatabaseError

  # Exceptions raised by the Eye module
  EyeError = Class.new WatchTowerError

  # Exceptions raised by the Config module
  ConfigError = Class.new WatchTowerError
  ConfigNotReadableError = Class.new ConfigError
  ConfigNotFound = Class.new ConfigError
  ConfigNotDefinedError = Class.new ConfigError
  ConfigNotValidError = Class.new ConfigError
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
watch_tower-0.0.3 lib/watch_tower/errors.rb
watch_tower-0.0.2 lib/watch_tower/errors.rb
watch_tower-0.0.1 lib/watch_tower/errors.rb
watch_tower-0.0.1.beta12 lib/watch_tower/errors.rb
watch_tower-0.0.1.beta11 lib/watch_tower/errors.rb