Used go-gh table printer for listing caches (#25)
* Used go-gh table printer for listing caches * lint * lint * minor * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type HandledError struct {
|
||||
Message string
|
||||
InnerError error
|
||||
@@ -11,5 +7,5 @@ type HandledError struct {
|
||||
|
||||
// Allow HandledError to satisfy error interface.
|
||||
func (err HandledError) Error() string {
|
||||
return fmt.Sprintf(err.Message)
|
||||
return err.Message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user