from_error_scope 0.0.1

Enable scoped conversion between non-local Error types
Documentation

from_error_scope

Enable conversion between non-local Error types.

When using libraries, your code often needs to convert between Error types which aren't part of your local crate. In this case you can't implement std::error::FromError.

This is also useful if you need context dependent translation of error types.

Documentation

Usage

Add from_error_scope to your dependencies:

[dependencies]
from_error_scope = "*"

License

Copyright 2015 Hugo Duncan

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.