Alphred
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Alphred
  • None

Classes

  • Alfred
  • AppleScript
  • Choose
  • Config
  • Date
  • Dialog
  • Filter
  • Globals
  • i18n
  • Ini
  • Keychain
  • Log
  • Notification
  • Request
  • Result
  • ScriptFilter
  • Text

Interfaces

  • ConfigKeyNotSet
  • Exception
  • FileDoesNotExist
  • InvalidKeychainAccount
  • InvalidScriptFilterArgument
  • InvalidSecurityAction
  • InvalidXMLProperty
  • PasswordExists
  • PasswordNotFound
  • PluginFunctionNotFound
  • RunningOutsideOfAlfred
  • ShouldBeBool
  • TooManyArguments
  • UnknownSecurityException
  • UseOnlyAsStatic

Class Exception

This is the namespaced "Exception" class (i.e.: Alphred\Exception)

Alphred's Exception interface adds in some standard logging functionality whenever any exception is thrown.

Exception
Extended by Alphred\Exception

Direct known subclasses

Alphred\ConfigKeyNotSet, Alphred\FileDoesNotExist, Alphred\ShouldBeBool, Alphred\TooManyArguments, Alphred\UnknownSecurityException, Alphred\UseOnlyAsStatic, Alphred\InvalidKeychainAccount, Alphred\InvalidScriptFilterArgument, Alphred\InvalidSecurityAction, Alphred\InvalidXMLProperty, Alphred\PasswordExists, Alphred\PasswordNotFound, Alphred\PluginFunctionNotFound, Alphred\RunningOutsideOfAlfred

Namespace: Alphred
Located at Exceptions.php

Methods summary

public
# __construct( string $message, integer $code = 3, string|boolean $file = false )

Writes a message to STDERR depending on log level

Writes a message to STDERR depending on log level

Parameters

$message
message thrown
$code
error code
$file

Overrides

Exception::__construct

Methods inherited from Exception

__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Magic methods summary

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Alphred API documentation generated by ApiGen