- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Returns names of all the branches in the current repository.
- Method
- Tests if a child commit is descendant of a parent commit. If child and parent are the same, it returns false.
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Normalize repository URIs. For example, these URIs are generally equivalent and all point at the same repository:
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Exception that aggregates other exceptions into a single exception. For example, if you have several objects which can perform a task and just want at least one of them to succeed, you can do something like this:
- Class
- Method
- Improve PHP error logs and optionally route errors, exceptions and debugging information to a central listener.
- Class
- Get a full trace across all proxied and aggregated exceptions.
- Method
- Method
- Method
- All different types of error messages come here before they are dispatched to the listener; this method also prints them to the PHP error log.
- Method
- Format a stacktrace for output.
- Method
- Output a stacktrace to the PHP error log.
- Method
- Handles PHP exceptions and dispatches them forward. This is a callback for ##set_exception_handler()##. You should not call this function directly; to print exceptions, pass the exception object to @{function:phlog}.
- Method
- Handles PHP errors and dispatches them forward. This is a callback for ##set_error_handler()##. You should not call this function directly; use @{function:phlog} to print debugging messages or ##trigger_error()## to trigger PHP errors.
- Method
- Determine if PhutilErrorHandler has been initialized.
- Method
- Removes an error trap. Normally you should not invoke this directly; @{class:PhutilErrorTrap} deregisters itself on destruction.
- Method
- Adds an error trap. Normally you should not invoke this directly; @{class:PhutilErrorTrap} registers itself on construction.
- Method
- Find the most deeply nested exception from a possibly-nested exception.
- Method
- Gets the previous exception of a nested exception. Prior to PHP 5.3 you can use @{class:PhutilProxyException} to nest exceptions; after PHP 5.3 all exceptions are nestable.
- Method
- Provide an optional listener callback which will receive all errors, exceptions and debugging messages. It can then print them to a web console, for example.
- Method
- Registers this class as the PHP error and exception handler. This will overwrite any previous handlers!
- Method
- Example @{class:PhutilErrorHandler} error listener callback. When you call `PhutilErrorHandler::setErrorListener()`, you must pass a callback function with the same signature as this one.
- Function
- libphutil log function for development debugging. Takes any argument and forwards it to registered listeners. This is essentially a more powerful version of `error_log()`.
- Function
- Holds the key for @{class:PhutilOpaqueEnvelope} in a logically distant location so it will never appear in stack traces, etc. You should never need to use this class directly. See @{class:PhutilOpaqueEnvelope} for information about opaque envelopes.
- Class
- Method
- Method
- Trap PHP errors while this object is alive, so they can be accessed and included in exceptions or other types of logging. For example, if you have code like this:
- Class