diff --git a/lang/Lang.go b/lang/Lang.go index 08865a8..3ecca72 100644 --- a/lang/Lang.go +++ b/lang/Lang.go @@ -12,8 +12,6 @@ import ( "os" "strings" "unsafe" - - "github.com/tursom/GoCollections/exceptions" ) type TypeCastException struct { @@ -83,10 +81,6 @@ func ForceCast[T any](v unsafe.Pointer) *T { } } -func (t *TypeCastException) Cause() exceptions.Exception { - return nil -} - func (t *TypeCastException) Error() string { return fmt.Sprintf("TypeCastException: %s\ncause by: %s", t.message, t.cause) }