types-ddd icon indicating copy to clipboard operation
types-ddd copied to clipboard

Invalid Email - EmailValueObject

Open theanurin opened this issue 2 years ago • 1 comments

EmailValueObject handle error bellow

[05:35:55] ERROR: ERROR 27688 Can not get the value of an error result. Use errorValue instead.
[05:35:55] ERROR: ERROR 27688 {"statusCode":"UNPROCESSABLE_ENTITY","statusCodeNumber":422,"isSuccess":false,"isFailure":true,"error":"Invalid email","_value":null}

Value Provided: "[email protected]"

theanurin avatar Sep 26 '22 05:09 theanurin

Hey @theanurin thanks for reporting this bug. Fixed on version 3.1.5 and 2.12.3

4lessandrodev avatar Sep 26 '22 19:09 4lessandrodev