Giter Club home page Giter Club logo

cassie's People

Contributors

fmonniot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cassie's Issues

Saner errors

As of the time of writing this issue (), CassieError is just a wrapper around a String.
We should make it more useful :)

As a starting point, here is what doobie is doing for their invariant errors:

/**
 * Module defining the type of exceptions representing unmet expectations.
 * These typically indicate a problem with the schema, with type mapping,
 * with driver compliance, and so on. The intent is that they be as fine-grained
 * as reasonable for diagnostic purposes, but it is not expected that the application
 * should be able to handle them in any meaningful way.
 */
object invariant {

  sealed abstract class InvariantViolation(msg: String) extends Exception(msg)

  sealed abstract class UnexpectedCursorPosition(msg: String)
   extends InvariantViolation(msg)

  case object UnexpectedEnd
    extends UnexpectedCursorPosition("ResultSet exhausted; more rows expected.")

  //

}

Auto publish to bintray

  • As a SNAPSHOT when pushed to master without a tag
  • As a RELEASE when pushed to master with a tag
    • Checking that the tag and version in SBT are the same (otherwise what to do ?)

Remove website mention

As cassie is sufficiently small that all documentation can be done on the README page.

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.