scala.runtime.$throws.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-library_sjs1_3 Show documentation
Show all versions of scala3-library_sjs1_3 Show documentation
scala3-library-bootstrappedJS
package scala.runtime
import annotation.experimental
/** A helper type to allow syntax like
*
* def f(): T throws Ex1 | Ex2
*
* Used in desugar.throws.
*/
@experimental
infix type $throws[R, +E <: Exception] = CanThrow[E] ?=> R
© 2015 - 2024 Weber Informatics LLC | Privacy Policy