Package | com.cyntaxic.cynmvc.controller.vos |
Class | public class ErrorCodeVO |
Inheritance | ErrorCodeVO CyntaxicVO Object |
ErrorCodeVO
class is a value object used to contain information about a CynError
.
Property | Defined By | ||
---|---|---|---|
id : int
The reference number for the specific error message. | ErrorCodeVO | ||
message : String
The message explaining the error. | ErrorCodeVO |
Method | Defined By | ||
---|---|---|---|
ErrorCodeVO(message:String, id:int)
Creates a new ErrorCodeVO object. | ErrorCodeVO | ||
describe(compact:Boolean = true):String
Returns a valid JSON string describing the object. | CyntaxicVO | ||
getProp(prop:String):Object
Gets a property value by its property name. | CyntaxicVO |
id | property |
public var id:int
The reference number for the specific error message.
message | property |
public var message:String
The message explaining the error.
ErrorCodeVO | () | Constructor |
public function ErrorCodeVO(message:String, id:int)
Creates a new ErrorCodeVO
object.
message:String — A string associated with the error object.
| |
id:int — A reference number to associate with the specific error message.
|