@ErrorType()

New in 2.0

Generate error

CodeSince 2.0.0

Usage

@ErrorType()

Generate a default random exception type

Example:
@ErrorType()
Output:
ReferenceErrorIndexOutOfBoundsException
← Back to Function Reference