DOMException.hx 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * Copyright (C)2005-2015 Haxe Foundation
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. * DEALINGS IN THE SOFTWARE.
  21. */
  22. // This file is generated from mozilla/DOMException.webidl line 78:0. Do not edit!
  23. package js.html;
  24. @:native("DOMException")
  25. extern class DOMException
  26. {
  27. static inline var INDEX_SIZE_ERR : Int = 1;
  28. static inline var DOMSTRING_SIZE_ERR : Int = 2;
  29. static inline var HIERARCHY_REQUEST_ERR : Int = 3;
  30. static inline var WRONG_DOCUMENT_ERR : Int = 4;
  31. static inline var INVALID_CHARACTER_ERR : Int = 5;
  32. static inline var NO_DATA_ALLOWED_ERR : Int = 6;
  33. static inline var NO_MODIFICATION_ALLOWED_ERR : Int = 7;
  34. static inline var NOT_FOUND_ERR : Int = 8;
  35. static inline var NOT_SUPPORTED_ERR : Int = 9;
  36. static inline var INUSE_ATTRIBUTE_ERR : Int = 10;
  37. static inline var INVALID_STATE_ERR : Int = 11;
  38. static inline var SYNTAX_ERR : Int = 12;
  39. static inline var INVALID_MODIFICATION_ERR : Int = 13;
  40. static inline var NAMESPACE_ERR : Int = 14;
  41. static inline var INVALID_ACCESS_ERR : Int = 15;
  42. static inline var VALIDATION_ERR : Int = 16;
  43. static inline var TYPE_MISMATCH_ERR : Int = 17;
  44. static inline var SECURITY_ERR : Int = 18;
  45. static inline var NETWORK_ERR : Int = 19;
  46. static inline var ABORT_ERR : Int = 20;
  47. static inline var URL_MISMATCH_ERR : Int = 21;
  48. static inline var QUOTA_EXCEEDED_ERR : Int = 22;
  49. static inline var TIMEOUT_ERR : Int = 23;
  50. static inline var INVALID_NODE_TYPE_ERR : Int = 24;
  51. static inline var DATA_CLONE_ERR : Int = 25;
  52. var code(default,null) : Int;
  53. var message(default,null) : String;
  54. var result(default,null) : Int;
  55. var name(default,null) : String;
  56. var filename(default,null) : String;
  57. var lineNumber(default,null) : Int;
  58. var columnNumber(default,null) : Int;
  59. var inner(default,null) : Dynamic/*MISSING nsISupports*/;
  60. var data(default,null) : Dynamic/*MISSING nsISupports*/;
  61. var stack(default,null) : String;
  62. }