diff --git a/internal/pipewire/core.go b/internal/pipewire/core.go index eec62da..d267781 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 {