@ErrorType()
New in 2.0Generate error
CodeSince 2.0.0
Usage
@ErrorType()Generate a default random exception type
Example:
@ErrorType()
Output:
ReferenceErrorIndexOutOfBoundsExceptionGenerate error
@ErrorType()Generate a default random exception type
@ErrorType()
ReferenceErrorIndexOutOfBoundsException