Files: 6f2637c0f63c49f473b4e5167c1ed53c79623dc2 / lib / bcrypt / error.rb
514 bytesRaw
1 | module BCrypt |
2 | |
3 | class Error < StandardError # :nodoc: |
4 | end |
5 | |
6 | module Errors # :nodoc: |
7 | |
8 | # The salt parameter provided to bcrypt() is invalid. |
9 | class InvalidSalt < BCrypt::Error; end |
10 | |
11 | # The hash parameter provided to bcrypt() is invalid. |
12 | class InvalidHash < BCrypt::Error; end |
13 | |
14 | # The cost parameter provided to bcrypt() is invalid. |
15 | class InvalidCost < BCrypt::Error; end |
16 | |
17 | # The secret parameter provided to bcrypt() is invalid. |
18 | class InvalidSecret < BCrypt::Error; end |
19 | |
20 | end |
21 | |
22 | end |
23 |
Built with git-ssb-web