You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static oatpp:object....{
auto dto = createShared();
return dto
}
};
If user inserts wrong type input, is there anyway we can customize message instead of OAT internal message error? e.g. if user insert string type for def, we can show a message "def should be integer format" instead of "ERROR_INVALID_INTEGER"
The text was updated successfully, but these errors were encountered:
Hi,
I have an interesting problem,
class MyDto : public oatpp::DTO {
DTO_INIT(MyDto, DTO)
DTO_FIELD(String, abc);
DTO_FIELD(Int32, def);
static oatpp:object....{
auto dto = createShared();
return dto
}
};
If user inserts wrong type input, is there anyway we can customize message instead of OAT internal message error? e.g. if user insert string type for def, we can show a message "def should be integer format" instead of "ERROR_INVALID_INTEGER"
The text was updated successfully, but these errors were encountered: