/usr/lib/ruby/vendor_ruby/bcrypt/error.rb is in ruby-bcrypt 3.1.10-1build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | module BCrypt
class Error < StandardError # :nodoc:
end
module Errors # :nodoc:
# The salt parameter provided to bcrypt() is invalid.
class InvalidSalt < BCrypt::Error; end
# The hash parameter provided to bcrypt() is invalid.
class InvalidHash < BCrypt::Error; end
# The cost parameter provided to bcrypt() is invalid.
class InvalidCost < BCrypt::Error; end
# The secret parameter provided to bcrypt() is invalid.
class InvalidSecret < BCrypt::Error; end
end
end
|