A class service_error that derives from dripline_error could take the service name as an argument to the constructor, and it could be automatically placed in the what() text.
Something similar could be done for endpoints, perhaps taking both the parent service name and the endpoint name.
A class
service_error
that derives fromdripline_error
could take the service name as an argument to the constructor, and it could be automatically placed in thewhat()
text.Something similar could be done for endpoints, perhaps taking both the parent service name and the endpoint name.