interface CodeSnippetPrinter
Interfaces for classes to implement that print code snippets
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.lang.String |
prettyPrintCodeSnippet(java.lang.Throwable exception, java.util.Map attrs) Attempts to present a preview code snippet of the code that went wrong |
|
abstract java.lang.String |
prettyPrintCodeSnippet(java.lang.Throwable exception) |
Attempts to present a preview code snippet of the code that went wrong
exception
- The exceptionoptional
- attributes for formatting