ErrorInfoCapable
interface ErrorInfoCapable
Interface for entities that can provide error information.
Classes implementing this interface are capable of supplying detailed error information through the errorInfo property. This is useful for objects that need to report errors in a standardized way, such as API responses, command results, or any operation that may fail.
See also
for the structure of error information
for a concrete implementation