Closed artem-v closed 4 years ago
@segabriel @artem-v
Why field name is _error_type
and not errorType
?
@segabriel @artem-v Why field name is
_error_type
and noterrorType
?
To be consistent with current naming conventions:
public static final String HEADER_DATA_TYPE = "_type";
public static final String HEADER_DATA_FORMAT = "_data_format";
But _type
is never exposed to public and this one exposed so it should use convention of all the other fields in message
lets fixed it here: https://github.com/scalecube/scalecube-services/issues/757
Migrate
io.scalecube.services.error/:errorType
to message with normal qualifier but with header denoting error type. Leave ErrorData as is.Add
_error_type
header (name it by analog with_data_format
).Remove method
Qualfier.isError
, change inplementation ofServiceMessage.isError
.