You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** An ability class that allows to throw exception `E`. When used with the
6
6
* experimental.saferExceptions feature, a `throw Ex()` expression will require
7
7
* a given of class `CanThrow[Ex]` to be available.
8
8
*/
9
+
@experimental
9
10
@implicitNotFound("The ability to throw exception ${E} is missing.\nThe ability can be provided by one of the following:\n - A using clause `(using CanThrow[${E}])`\n - A `canThrow` clause in a result type such as `X canThrow ${E}`\n - an enclosing `try` that catches ${E}")
0 commit comments