cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brooks (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-2733) Consistently Throw an Error Object
Date Wed, 20 Mar 2013 21:11:15 GMT

     [ https://issues.apache.org/jira/browse/CB-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Brooks resolved CB-2733.
--------------------------------

    Resolution: Fixed
    
> Consistently Throw an Error Object
> ----------------------------------
>
>                 Key: CB-2733
>                 URL: https://issues.apache.org/jira/browse/CB-2733
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.5.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>            Priority: Minor
>
> Currently, the Cordova CLI will throw an {{Error}} or {{String}} on an error.
> In order to make it easier to handle errors, the Cordova CLI should consistently throw
an {{Error}} object. This allows the caller to catch the error and output {{e.message}} without
inspecting the type of the thrown object.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message