Packageorg.restfulx.services
Classpublic class JSONServiceErrors
InheritanceJSONServiceErrors Inheritance GenericServiceErrors

JSON-based Service Provider specific IServiceErrors implementation.



Protected Properties
 PropertyDefined by
 Inheritederrors : Object
error holder
GenericServiceErrors
Public Methods
 MethodDefined by
  
JSONServiceErrors(result:Object)
Transforms errors into an array of Validation results mapped by field name.
JSONServiceErrors
 Inherited
getFieldErrors(field:String):Array
GenericServiceErrors
Protected Methods
 MethodDefined by
 Inherited
createValidationResult(message:String):ValidationResult
Default validation result creator.
GenericServiceErrors
Constructor detail
JSONServiceErrors()constructor
public function JSONServiceErrors(result:Object)

Transforms errors into an array of Validation results mapped by field name.

Parameters
result:Object — errors response