summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'types.go')
-rw-r--r--types.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/types.go b/types.go
index 5c923a3..abb02e2 100644
--- a/types.go
+++ b/types.go
@@ -1,7 +1,6 @@
package mtmap
import (
- "fmt"
"github.com/anon55555/mt"
)
@@ -35,19 +34,3 @@ type StaticObj struct {
Pos [3]float32
Data string
}
-
-type ErrInvalidNodeName struct {
- Name string
-}
-
-func (e ErrInvalidNodeName) Error() string {
- return fmt.Sprintf("invalid node \"%v\"", e.Name)
-}
-
-type ErrInvalidNodeId struct {
- Id mt.Content
-}
-
-func (e ErrInvalidNodeId) Error() string {
- return fmt.Sprintf("invalid node %v", e.Id)
-}