Created
July 6, 2019 21:16
-
-
Save ghahramani/76b1eadfb7659e4902761f275d0406f1 to your computer and use it in GitHub Desktop.
An interface to for exception handlers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ProblemExceptionHandler<T : Throwable> { | |
fun supports(clazz: Throwable): Boolean | |
fun generateProblemVM(e: T): ProblemVM | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment