Skip to content

Refactor error handling #1

@westphahl

Description

@westphahl

User own error types:

pub enum GithubAppAuthError {
    InvalidInput,
    UnknownRepository(repo: String),
    AuthenticationError(reason: String),
   // ...
}

Inspiration: https://mmapped.blog/posts/12-rust-error-handling.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions