addReason method
Returns a new UserException, copied from the current one, but adding the given reason
.
Note the added reason
won't replace the original reason, but will be added to it.
Implementation
@override
UserException addReason(String? reason) {
throw UnsupportedError('You cannot use this.');
}