GithubHelp home page GithubHelp logo

Comments (4)

frossano-grafana avatar frossano-grafana commented on June 5, 2024

this is a usability issues, not a stability issue
We need to deal with validation error first, and then with the messages for authors when we start making this used in Plugin generation

from thema.

sdboyer avatar sdboyer commented on June 5, 2024

#82 begins the use of github.com/cockroachdb/errors. However, there's a fair bit of planning and design on its own that needs to go into adopting the library - see this whole design doc that covers the behaviors.

i could be talked out of it, but i think for the role we would like to see Thema occupy - a highly portable utility that can tuck into individual programs or complex operational topologies - ensuring our errors have the properties outlined in that document's motivation section seems like the right move. i'm fine with a complex errors implementation inside thema, so long as it's simple to use on the outside.

from thema.

frossano-grafana avatar frossano-grafana commented on June 5, 2024

I agree there is a fair bit of planning and design to do, and this is one of the things I talked abut with all the designers we interviewed. Error handling is both a technical and a usability issue, and we need to start from what we want to expose to final users and walk back to what we can achieve based on constraints in the implementation (there might be none, but there might be some big ones)
Motivation behind the errors is super important, and for me in the end it boils down to: what do we want users to do when a specific error (or class of errors) comes out?

from thema.

sdboyer avatar sdboyer commented on June 5, 2024

Closing in favor of #164

from thema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.