lib/surrounded/context_errors.rb in surrounded-0.9.9 vs lib/surrounded/context_errors.rb in surrounded-0.9.10
- old
+ new
@@ -1,16 +1,5 @@
require 'triad'
module Surrounded
module Context
- class InvalidRole < ::Triad::ItemNotPresent; end
- class InvalidRoleType < ::StandardError
- unless method_defined?(:cause)
- def initialize(msg=nil)
- super
- @cause = $!
- end
- attr_reader :cause
- end
- end
- class AccessError < ::StandardError; end
end
-end
\ No newline at end of file
+end