channeldb/migration_01_to_11: remove unused code
This commit is contained in:
33 files changed
+1
-17048
No files matched your search
@@ -48,12 +48,6 @@ type UnknownElementType struct {
|
||||
element interface{}
|
||||
}
|
||||
|
||||
// NewUnknownElementType creates a new UnknownElementType error from the passed
|
||||
// method name and element.
|
||||
func NewUnknownElementType(method string, el interface{}) UnknownElementType {
|
||||
return UnknownElementType{method: method, element: el}
|
||||
}
|
||||
|
||||
// Error returns the name of the method that encountered the error, as well as
|
||||
// the type that was unsupported.
|
||||
func (e UnknownElementType) Error() string {
|
||||
|
||||
Reference in new issue
Block a user