2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsIException.h"
|
|
|
|
|
2010-11-10 15:25:44 -08:00
|
|
|
nsresult
|
|
|
|
NS_GetNameAndMessageForDOMNSResult(nsresult aNSResult, const char** aName,
|
2012-04-24 16:50:00 -07:00
|
|
|
const char** aMessage,
|
|
|
|
PRUint16* aCode = nsnull);
|
2010-11-10 15:25:44 -08:00
|
|
|
|
2012-06-13 18:12:37 -07:00
|
|
|
nsresult
|
|
|
|
NS_NewDOMException(nsresult aNSResult, nsIException* aDefaultException,
|
|
|
|
nsIException** aException);
|