diaspora/lib/exceptions.rb
Florian Staudacher 4cbae601e8 [WIP] aspect membership dropdown Backbone.js rework
* initial backbone port
* changed AspectMembershipsController#destroy to use aspect_membership_id
* included rudimentary jasmine specs
* more specs, updating the list elements after de-/selection
* update selected aspect count on button
* don't even try to render html in AspectMembershipsController
* more specs for button summary text
* adapt aspect management on contacts page and in the popup boxes
* adapt inline creation of aspects + memberships

TODO
* more tests
2013-02-17 13:40:10 +01:00

20 lines
569 B
Ruby

# Copyright (c) 2010-2012, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
module Diaspora
# the post in question is not public, and that is somehow a problem
class NonPublic < StandardError
end
# the account was closed and that should not be the case if we want
# to continue
class AccountClosed < StandardError
end
# something that should be accessed does not belong to the current user and
# that prevents further execution
class NotMine < StandardError
end
end