Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cbarrick@lemmy.world to Rust@programming.devEnglish · 2 years ago

Designing error types in Rust

mmapped.blog

external-link
message-square
4
fedilink
20
external-link

Designing error types in Rust

mmapped.blog

cbarrick@lemmy.world to Rust@programming.devEnglish · 2 years ago
message-square
4
fedilink
An optinionated guide to designing humane error types in Rust.
  • sbv@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I really like error enums for individual functions.

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 47 users / week
  • 263 users / month
  • 2.39K users / 6 months
  • 1 local subscriber
  • 7.15K subscribers
  • 958 Posts
  • 3.07K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org