tag: 'failing with error vs. just returning null'

Narrow your search:

    Log in Sign up
    2 Matching Annotations
    1. Feb 2022
    2. bugs.ruby-lang.org bugs.ruby-lang.org
      Feature #7299: Ruby should not completely ignore blocks. - Ruby master - Ruby Issue Tracking System
      1
      1. TylerRick 09 Feb 2022
        in Public
        ruby errors/warnings are helpful for development failing with error vs. just returning null
      Visit annotations in context

      Tags

      • failing with error vs. just returning null
      • errors/warnings are helpful for development
      • ruby

      Annotators

      • TylerRick

      URL

      bugs.ruby-lang.org/issues/7299
    3. Jun 2021
    4. www.postgresql.org www.postgresql.org
      9.16. JSON Functions and Operators
      1
      1. TylerRick 03 Jun 2021
        in Public
        The field/element/path extraction operators return NULL, rather than failing, if the JSON input does not have the right structure to match the request; for example if no such key or array element exists.
        not: better to fail loudly with an error than to fail subtly/silently failing with error vs. just returning null
      Visit annotations in context

      Tags

      • failing with error vs. just returning null
      • not:
      • better to fail loudly with an error than to fail subtly/silently

      Annotators

      • TylerRick

      URL

      postgresql.org/docs/13/functions-json.html
    Share:
    Group. Only group members will be able to view this annotation.
    Only me. No one else will be able to view this annotation.
    Hypothes.is
    • About
    • Blog
    • Bioscience
    • Education
    • Jobs
    • Help
    • Contact
    • Terms of Service
    • Privacy Policy