Refactor Rust error handling

Open
#186 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
backend

Research direction

Start by locating the Rust-side error handling and comparing the handling brought in from the tiff crate with the crate's own error enums. Map the current error paths before proposing a unified approach. Done means the error handling is consistent and suitable for consideration in the 0.3 release.

Written by the indexing model from the issue text.

Description

The Rust-side error handling of this crate is pretty bad because it's a mish-mosh of some error handling brought in from the tiff crate plus new error enums we defined ourselves.

I don't think we'll include this in our next release, but it would be nice to handle for 0.3.

Dominant language
Rust
Stars
125
Forks
17
Avg merge
7h 33m
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/async-tiff

All issues in developmentseed/async-tiff

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.