blob: e9ea212eeaf71246f48c25adcb814b5f421fa241 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
module Aclog
module Exceptions
class UserError < StandardError
attr_reader :user
def initialize(user)
@user = user
end
end
class UserNotFound < StandardError; end
class LoginRequired < StandardError; end
class TweetNotFound < StandardError; end
class OAuthEchoUnauthorized < StandardError; end
class UserNotRegistered < UserError; end
class UserProtected < UserError; end
class AccountPrivate < UserError; end
end
end
|