Throw MongoDB\Driver\InvalidArgumentException on argument errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It currently throws the SPL InvalidArgumentException making it not possible to catch all phongo exeptions with catch(MongoDB\Driver\Exception $e) :/
      We should provide MongoDB\Driver\InvalidArgumentException extends \InvalidArgumentException implements MongodB\Driver\Exception

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: