imag/lib/core
Leon Schuermann ed457495c8 Introduce proper error handling in IdPathProvider
Prior to this change, the IdPathProvider implementation would be
responsible for exiting the process on insufficient / wrong arguments.
However, such error handling should be performed together with the
business logic and not in CLI-parsing related code.

This change introduces a clear separation: both parsing errors and
insufficient id path arguments can now be return from inside the
`get_ids`-method, and get passed up to the application logic to be
handled.

This change is reflected in all instances of IdPathProvider and their
surrounding code.

Signed-off-by: Leon Schuermann <leon.git@is.currently.online>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-24 21:03:34 +02:00
..
libimagerror Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
libimagrt Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
libimagstore Fix: Entries::in_collection() should be able to return error 2019-05-18 13:37:46 +02:00