update data type

This commit is contained in:
2025-05-10 20:38:12 +08:00
parent 4eb74a4e3a
commit 93bed37b9c
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ import (
type Exception struct {
code any
message string
data map[string]any
data any
stack string
}
@@ -50,7 +50,7 @@ func (e *Exception) Message() string {
return e.message
}
func (e *Exception) Data() map[string]any {
func (e *Exception) Data() any {
return e.data
}