Skip to content

Commit

Permalink
Merge pull request #11 from aligo/master
Browse files Browse the repository at this point in the history
Update errors.rb.
  • Loading branch information
deborasetton committed Mar 6, 2014
2 parents 08a5784 + 18f56b6 commit 1d4c00b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/deathbycaptcha/errors.rb
Expand Up @@ -43,7 +43,7 @@ def initialize
#
# Raised when the captcha file could not be loaded or is empty.
#
class CaptchaEmpty
class CaptchaEmpty < Error
def initialize
super('CAPTCHA image is empty or could not be loaded')
end
Expand All @@ -52,18 +52,18 @@ def initialize
#
# Raised when the size of the captcha file is too big.
#
class CaptchaOverflow
class CaptchaOverflow < Error
def initialize
super('CAPTCHA image is too big')
end
end

class ServiceOverload
class ServiceOverload < Error
def initialize
super('CAPTCHA was rejected due to service overload, try again later')
end
end

end

end
end
2 changes: 1 addition & 1 deletion lib/deathbycaptcha/version.rb
@@ -1,4 +1,4 @@
module DeathByCaptcha
VERSION = "4.1.4"
VERSION = "4.1.5"
API_VERSION = "DBC/Ruby v4.1.2"
end

0 comments on commit 1d4c00b

Please sign in to comment.