Refactoring

This commit is contained in:
yusing
2024-09-25 03:43:47 +08:00
parent 17115cfb0b
commit dc3575c8fd
7 changed files with 42 additions and 42 deletions

View File

@@ -100,7 +100,6 @@ func Serialize(data any) (SerializedObject, E.NestedError) {
}
}
default:
// return nil, fmt.Errorf("unsupported type: %s", value.Kind())
return nil, E.Unsupported("type", value.Kind())
}