MultipleException
Exception with a list of causes. Cause is null
as it can't be told which one of the list is the cause.
A coded multiple exception should be created this way:
CodedException(400, "Many errors", MultipleException())
Content copied to clipboard
To pass a list of causes
CodedException (500, "Error", *list)
Content copied to clipboard