lib/surface_master/launchpad/errors.rb in surface_master-0.2.0 vs lib/surface_master/launchpad/errors.rb in surface_master-0.2.1
- old
+ new
@@ -1,11 +1,10 @@
-module Launchpad
- # Generic launchpad error.
- class LaunchpadError < SurfaceMaster::GenericError; end
+module SurfaceMaster
+ module Launchpad
+ # Generic launchpad error.
+ class LaunchpadError < SurfaceMaster::GenericError; end
- # Error raised when <tt>x/y</tt> coordinates outside of the grid
- # or none were specified.
- class NoValidGridCoordinatesError < LaunchpadError; end
-
- # Error raised when wrong brightness was specified.
- class NoValidBrightnessError < LaunchpadError; end
+ # Error raised when <tt>x/y</tt> coordinates outside of the grid
+ # or none were specified.
+ class NoValidGridCoordinatesError < LaunchpadError; end
+ end
end