Actually it is errors.xml file (but I'm afraid it is only imported during
installation)
You can add it there, then manually add additional error code to the DB.
Then to use new error code you need to return negative number with the id
of this error

On Mon, Mar 23, 2015 at 4:16 PM, Lionel Djeukam <[email protected]>
wrote:

> hi Maxim,
> where should i define my own error code in the Source? :)
>
> Lionel
>
> 2015-03-23 9:53 GMT+01:00 Maxim Solodovnik <[email protected]>:
>
>> sure, please do it :)
>>
>> On Sun, Mar 22, 2015 at 3:39 PM, Lionel Djeukam <[email protected]>
>> wrote:
>>
>>> Hello,
>>> is it possible for me to create my own OMException with a new Error code.
>>> For example i want that a user become the message "Account locked" after
>>> three failed authentication.
>>>
>>> Thks and regards,
>>>
>>> Lionel
>>> --
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
>
>


-- 
WBR
Maxim aka solomax

Reply via email to