We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NewTerminalError
1 parent a1b0863 commit 2e1aaaeCopy full SHA for 2e1aaae
pkg/errors/error.go
@@ -92,7 +92,7 @@ type TerminalError struct {
92
err error
93
}
94
95
-func (e TerminalError) New(terminalError error) *TerminalError {
+func NewTerminalError(terminalError error) *TerminalError {
96
return &TerminalError{err: terminalError}
97
98
0 commit comments