expectErr

inline fun expectErr(message: () -> String): E