diff options
Diffstat (limited to 'internal/pipewire')
| -rw-r--r-- | internal/pipewire/core.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pipewire/core.go b/internal/pipewire/core.go index eec62da3..d2677818 100644 --- a/internal/pipewire/core.go +++ b/internal/pipewire/core.go @@ -644,7 +644,8 @@ func (registry *Registry) destroy(id Int) error { // An UnsupportedObjectTypeError is the name of a type not known by the server [Registry]. type UnsupportedObjectTypeError string -func (e UnsupportedObjectTypeError) Error() string { return "unsupported object type " + string(e) } +func (e UnsupportedObjectTypeError) Error() string { return "unsupported object type " + string(e) } +func (e UnsupportedObjectTypeError) Message() string { return e.Error() } // Core holds state of [PW_TYPE_INTERFACE_Core]. type Core struct { |
