Skip to content

Error reporting in GetResponse and SetResponse #67

@KookyMonster

Description

@KookyMonster

In section 3.3.2 for GetResponse the spec dictates:

The target MUST generate a Notification message for each path specified in the client's GetRequest

Similarly in section 3.4.2:

response - containing a list of responses, one per operation specified within the SetRequest message. Each response consists of an UpdateResult message

However all uses of the "Error" message have been deprecated, so what is a "Notification" or "UpdateResult" message supposed to be populated with in the event of an error? Implementing the spec as written suggests we would simply construct messages of the respective type using the default constructor and attach empty messages but if that's the case why even include them at all?

Prior to this deprecation (version < 0.4.0) of the "Error" message the SetRequest had a great deal of flexibility with the ability to report exactly which operation within the request caused the error and I was hoping that same level of detail would eventually be available for Get RPCs but it seems the opposite stance was taken in this newest version of the spec. Is there a reason for reducing the level of error reporting available?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions