...
@:value({ message : "" })new(type:ReaderErrorType, message:String = "", ?posInfos:Null<PosInfos>)
read onlymessage:String
read onlyposInfos:PosInfos
read onlytype:ReaderErrorType