Exception: Keychain::KeychainException
- Inherits:
-
Exception
- Object
- Exception
- Keychain::KeychainException
- Defined in:
- lib/mr_keychain/keychain_exception.rb
Overview
Properly extracts error messages based on error codes.
Instance Method Summary (collapse)
-
- (KeychainException) initialize(message_prefix, error_code)
constructor
A new instance of KeychainException.
Constructor Details
- (KeychainException) initialize(message_prefix, error_code)
A new instance of KeychainException
10 11 12 13 |
# File 'lib/mr_keychain/keychain_exception.rb', line 10 def initialize , error_code = SecCopyErrorMessageString( error_code, nil ) super "#{}. #{}" end |