Enable detekt rule ThrowingExceptionsWithoutMessageOrCause and fix existing issues.
This commit is contained in:
parent
d82b47beeb
commit
f055a25457
7 changed files with 9 additions and 9 deletions
|
|
@ -25,7 +25,7 @@ open class WaitListStateProvider : PreviewParameterProvider<WaitListState> {
|
|||
get() = sequenceOf(
|
||||
aWaitListState(loginAction = Async.Uninitialized),
|
||||
aWaitListState(loginAction = Async.Loading()),
|
||||
aWaitListState(loginAction = Async.Failure(Throwable())),
|
||||
aWaitListState(loginAction = Async.Failure(Throwable("error"))),
|
||||
aWaitListState(loginAction = Async.Failure(Throwable(message = "IO_ELEMENT_X_WAIT_LIST"))),
|
||||
aWaitListState(loginAction = Async.Success(SessionId("@alice:element.io"))),
|
||||
// Add other state here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue