GitHub user jpeach opened a pull request:
https://github.com/apache/trafficserver/pull/1469
Introduce a Result error object.
Introduce a `Result` object to carry an abstract error with a corresponding
message. We already had `config_parse_error`, but this is slightly more
general. I primarily added this because of the unhelpful error message you get
when `storage.config` fails to load.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpeach/trafficserver jpeach/result
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1469.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1469
----
commit d64b410ff0a1d92af541a6a5cfa6e94521298dc3
Author: James Peach <[email protected]>
Date: 2017-02-18T21:54:31Z
Add a Result class to carry error status.
commit c721275f475666a205d39f74e682d011029665c6
Author: James Peach <[email protected]>
Date: 2017-02-18T21:54:52Z
Use Result to show Cache configuration parse errors.
commit e9e7094e7f9951914965ccf9d722badcf777f036
Author: James Peach <[email protected]>
Date: 2017-02-18T22:19:45Z
Rename Macher template parameters to avoid a name collision.
commit 7e35d96c3f49a7d71aa431e1e4e62f4eb7fe96b4
Author: James Peach <[email protected]>
Date: 2017-02-18T22:41:53Z
Replace config_parse_error with Result.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---