servo/components/net
bors-servo 45209b7ffe Auto merge of #12538 - szeged:error-refactor, r=nox
Refactor Bluetooth error handling

<!-- Please describe your changes on the following line: -->
Replace the error messages with an enum in `net/bluetooth_thread.rs`. Rename `bluetooth_blacklist.rs` to `bluetooth_utils.rs` and put the error conversion in it.
With this the returned errors in DOM classes follow the specification.
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because  there is no Web Bluetooth test API implementation yet.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12538)
<!-- Reviewable:end -->
2016-07-28 03:33:08 -05:00
..
fetch msg: Rename ReferrerPolicy::NoRefWhenDowngrade NoReferrerWhenDowngrade 2016-07-15 08:13:57 -07:00
about_loader.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
blob_loader.rs Chunked ReadFile from file manager 2016-07-25 19:39:16 +02:00
bluetooth_thread.rs Refactor Bluetooth error handling 2016-07-27 15:02:01 +02:00
Cargo.toml Support tinyfiledialogs on Windows 2016-07-25 14:43:06 +02:00
chrome_loader.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
connector.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
content_blocker.rs Read the content blocking rules and make them available to the HTTP loader. 2016-05-30 10:54:52 +02:00
cookie.rs Add mach command to update public domain list and use a HashSet instead of a Vec to lookup public domains 2016-06-09 09:14:01 +02:00
cookie_storage.rs Use common cookie struct add cookie webdriver cmds 2016-06-25 22:24:35 +00:00
data_loader.rs Rename MIMEClassifier to match Rust acronym naming conventions. 2016-07-02 17:12:46 -04:00
file_loader.rs Integrate service worker manager thread 2016-07-16 23:29:44 +05:30
filemanager_thread.rs Chunked ReadFile from file manager 2016-07-25 19:39:16 +02:00
hsts.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
http_loader.rs send requests that are redirected to devtools 2016-07-27 22:57:25 +08:00
image_cache_thread.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
lib.rs Support tinyfiledialogs on Windows 2016-07-25 14:43:06 +02:00
mime_classifier.rs Rename MIMEClassifier to match Rust acronym naming conventions. 2016-07-02 17:12:46 -04:00
pub_domains.rs Add mach command to update public domain list and use a HashSet instead of a Vec to lookup public domains 2016-06-09 09:14:01 +02:00
resource_thread.rs Remove use of util::opts from storage_thread 2016-07-27 10:25:48 +02:00
storage_thread.rs Remove use of util::opts from storage_thread 2016-07-27 10:25:48 +02:00
websocket_loader.rs Test fixes: 2016-06-10 20:53:36 +05:30