2002-04-10 13:38:30 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00: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/. */
|
2002-04-10 13:38:30 +00:00
|
|
|
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsIException.h"
|
|
|
|
|
2010-11-10 23:25:44 +00:00
|
|
|
nsresult
|
|
|
|
NS_GetNameAndMessageForDOMNSResult(nsresult aNSResult, const char** aName,
|
2012-04-24 23:50:00 +00:00
|
|
|
const char** aMessage,
|
2012-08-22 15:56:38 +00:00
|
|
|
uint16_t* aCode = nullptr);
|
2010-11-10 23:25:44 +00:00
|
|
|
|
2012-06-14 01:12:37 +00:00
|
|
|
nsresult
|
|
|
|
NS_NewDOMException(nsresult aNSResult, nsIException* aDefaultException,
|
|
|
|
nsIException** aException);
|