MiSikora
04/15/2019, 8:14 AMargumentError(message: String) function in the standard library? error(message: String) is not always appropriate as it throws IllegalStateException and require(value: Boolean, lazyMessage: () -> Any) does not always fit the code like in when expressions.