Sha256: cdc30631fc7b74a412af17d71af15834db217745a0b3dd6e729abe05c61a2754

Contents?: true

Size: 780 Bytes

Versions: 5

Compression:

Stored size: 780 Bytes

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

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

  # 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
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
watch_tower-0.0.1.beta5 lib/watch_tower/errors.rb
watch_tower-0.0.1.beta4 lib/watch_tower/errors.rb
watch_tower-0.0.1.beta3 lib/watch_tower/errors.rb
watch_tower-0.0.1.beta2 lib/watch_tower/errors.rb
watch_tower-0.0.1.beta1 lib/watch_tower/errors.rb