public static function ServicesClientErrorType::getTypes in Services Client 7.2
Get list of all error types keyed by error type contstant and value is user readable name.
Return value
array
1 call to ServicesClientErrorType::getTypes()
- ServicesClientErrorType::getTypeName in include/
plugin.inc - Retrieve error type user readable name.
File
- include/
plugin.inc, line 160 - Base plugin definitions. All other plugins should be extended from this set of plugins.
Class
- ServicesClientErrorType
- Define error types.
Code
public static function getTypes() {
return array(
self::NETWORK => 'network',
self::LOOP => 'loop',
self::REMOTE_LOGIC => 'remote logic',
self::REMOTE_SERVER => 'remote server',
self::UNKNOWN => 'unknown',
);
}