public class ShellErrorHandler extends Object implements ConsoleErrorHandler
ConsoleErrorHandler
which renders errors with ANSI codes.Constructor and Description |
---|
ShellErrorHandler(IO io,
javax.inject.Provider<Variables> variables) |
public boolean handleError(Throwable error)
ConsoleErrorHandler
ConsoleTask
.handleError
in interface ConsoleErrorHandler
error
- The error which has occurred.Copyright © 2008-2012 Sonatype. All Rights Reserved.