Packagecom.cyntaxic.cynmvc.controller.vos
Classpublic class ErrorCodeVO
InheritanceErrorCodeVO Inheritance CyntaxicVO Inheritance Object

The ErrorCodeVO class is a value object used to contain information about a CynError.



Public Properties
 PropertyDefined By
  id : int
The reference number for the specific error message.
ErrorCodeVO
  message : String
The message explaining the error.
ErrorCodeVO
Public Methods
 MethodDefined By
  
ErrorCodeVO(message:String, id:int)
Creates a new ErrorCodeVO object.
ErrorCodeVO
 Inherited
describe(compact:Boolean = true):String
Returns a valid JSON string describing the object.
CyntaxicVO
 Inherited
getProp(prop:String):Object
Gets a property value by its property name.
CyntaxicVO
Property Detail
idproperty
public var id:int

The reference number for the specific error message.

messageproperty 
public var message:String

The message explaining the error.

Constructor Detail
ErrorCodeVO()Constructor
public function ErrorCodeVO(message:String, id:int)

Creates a new ErrorCodeVO object.

Parameters
message:String — A string associated with the error object.
 
id:int — A reference number to associate with the specific error message.