All Downloads are FREE. Search and download functionalities are using the official Maven repository.

izumi.fundamentals.platform.exceptions.IzThrowable.scala Maven / Gradle / Ivy

package izumi.fundamentals.platform.exceptions

import izumi.fundamentals.platform.IzPlatformSyntax
import izumi.fundamentals.platform.exceptions.impl.{IzThrowableStackTop_Syntax, IzThrowable_Syntax}

import scala.language.implicitConversions

trait IzThrowable extends IzPlatformSyntax {
  implicit def toRichThrowable(throwable: Throwable): IzThrowable_Syntax = new IzThrowable_Syntax(throwable)
  implicit def toRichThrowableStackTop(throwable: Throwable): IzThrowableStackTop_Syntax = new IzThrowableStackTop_Syntax(throwable, Set.empty)
}

object IzThrowable extends IzThrowable {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy