in FixAntenna/NetCore/Validation/Error/FixErrorBuilder.cs [33:114]
private void InitializeErrorsCache()
{
_errorCodeStringMap[FixErrorCode.InvalidTagNumber]
= new FixError(
FixErrorCode.InvalidTagNumber,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_INVALID_TAG_NUMBER"),
null);
_errorCodeStringMap[FixErrorCode.RequiredTagMissing]
= new FixError(
FixErrorCode.RequiredTagMissing,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_REQUIRED_TAG_MISSING"),
null);
_errorCodeStringMap[FixErrorCode.CondrequiredTagMissing]
= new FixError(
FixErrorCode.CondrequiredTagMissing,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_REQUIRED_TAG_MISSING"),
null);
_errorCodeStringMap[FixErrorCode.TagNotDefinedForThisMessageType]
= new FixError(
FixErrorCode.TagNotDefinedForThisMessageType,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_TAG_NOT_DEFINED"),
null);
_errorCodeStringMap[FixErrorCode.UndefinedTag]
= new FixError(
FixErrorCode.UndefinedTag,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_UNDEFINED_TAG"),
null);
_errorCodeStringMap[FixErrorCode.TagSpecifiedWithoutValue]
= new FixError(
FixErrorCode.TagSpecifiedWithoutValue,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_MISSING_VALUE"),
null);
_errorCodeStringMap[FixErrorCode.ValueIncorrectOutOfRangeForTag]
= new FixError(
FixErrorCode.ValueIncorrectOutOfRangeForTag,
ResourceHelper.GetStringMessage("INVALID_MESSAGE__OUT_OF_RANGE_FOR_TAG"),
null);
_errorCodeStringMap[FixErrorCode.IncorrectDataFormatForValue]
= new FixError(
FixErrorCode.IncorrectDataFormatForValue,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_INCORRECT_DATA_TYPE"),
null);
_errorCodeStringMap[FixErrorCode.InvalidMsgtype]
= new FixError(
FixErrorCode.InvalidMsgtype,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_INVALID_MESSAGE_TYPE"),
null);
_errorCodeStringMap[FixErrorCode.TagAppearsMoreThanOnce]
= new FixError(
FixErrorCode.TagAppearsMoreThanOnce,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_TAG_APPEARS_MORE_THEN_ONCE"),
null);
_errorCodeStringMap[FixErrorCode.TagSpecifiedOutOfRequiredOrder]
= new FixError(
FixErrorCode.TagSpecifiedOutOfRequiredOrder,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_TAG_IS_OUT_OF_ORDER"),
null);
_errorCodeStringMap[FixErrorCode.RepeatingGroupFieldsOutOfOrder]
= new FixError(
FixErrorCode.RepeatingGroupFieldsOutOfOrder,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_TAG_IN_GROUP_IS_OUT_OF_ORDER"),
null);
_errorCodeStringMap[FixErrorCode.IncorrectNumingroupCountForRepeatingGroup]
= new FixError(
FixErrorCode.IncorrectNumingroupCountForRepeatingGroup,
ResourceHelper.GetStringMessage("INVALID_MESSAGE_TAG_IS_REPEATED_INCORRECT_NUMBER_TIME"),
null); //!
_errorCodeStringMap[FixErrorCode.Other] = new FixError(FixErrorCode.Other, "", null); //Other errors
}