Exceptions.php

Contains all custom exceptions for Alphred

PHP version 5

Classes

Exception This is the namespaced "Exception" class (i.e.: Alphred\Exception)
UseOnlyAsStatic Thrown when trying to instantiate a class that is written to be used as static only.
RunningOutsideOfAlfred This is thrown when trying to use functions that require variables set by Alfred
InvalidScriptFilterArgument Thrown when trying to pass bad keys to a script filter
InvalidKeychainAccount Keychain error
PasswordExists Exception thrown when trying to set a password in the keychain without the `update` flag
PasswordNotFound Thrown when trying to get a password that has not been set
InvalidSecurityAction Thrown with a bad error code.
UnknownSecurityException Thrown when `security` doesn't know what to do
TooManyArguments Thrown when giving too many arguments
InvalidXMLProperty Thrown when trying to set an XML property that should not exist
ShouldBeBool Thrown when sending something that should be a bool but isn't
FileDoesNotExist Thrown when trying to access a file that does not exist
PluginFunctionNotFound Thrown when trying to load a plugin that has not been defined
ConfigKeyNotSet Thrown when trying to get a config key that has not been set