UNPKG

create-expo-cljs-app

Version:

Create a react native application with Expo and Shadow-CLJS!

1 lines 5.47 kB
["^ ","~:resource-id",["~:shadow.build.classpath/resource","goog/debug/error.js"],"~:js","goog.provide(\"goog.debug.Error\");\ngoog.debug.Error = function(opt_msg) {\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, goog.debug.Error);\n } else {\n const stack = (new Error).stack;\n if (stack) {\n this.stack = stack;\n }\n }\n if (opt_msg) {\n this.message = String(opt_msg);\n }\n this.reportErrorToServer = true;\n};\ngoog.inherits(goog.debug.Error, Error);\ngoog.debug.Error.prototype.name = \"CustomError\";\n","~:source","// Copyright 2009 The Closure Library Authors. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n/**\n * @fileoverview Provides a base class for custom Error objects such that the\n * stack is correctly maintained.\n *\n * You should never need to throw goog.debug.Error(msg) directly, Error(msg) is\n * sufficient.\n *\n */\n\ngoog.provide('goog.debug.Error');\n\n\n\n/**\n * Base class for custom error objects.\n * @param {*=} opt_msg The message associated with the error.\n * @constructor\n * @extends {Error}\n */\ngoog.debug.Error = function(opt_msg) {\n\n // Attempt to ensure there is a stack trace.\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, goog.debug.Error);\n } else {\n const stack = new Error().stack;\n if (stack) {\n /** @override */\n this.stack = stack;\n }\n }\n\n if (opt_msg) {\n /** @override */\n this.message = String(opt_msg);\n }\n\n /**\n * Whether to report this error to the server. Setting this to false will\n * cause the error reporter to not report the error back to the server,\n * which can be useful if the client knows that the error has already been\n * logged on the server.\n * @type {boolean}\n */\n this.reportErrorToServer = true;\n};\ngoog.inherits(goog.debug.Error, Error);\n\n\n/** @override */\ngoog.debug.Error.prototype.name = 'CustomError';\n","~:compiled-at",1613924115694,"~:source-map-json","{\n\"version\":3,\n\"file\":\"goog.debug.error.js\",\n\"lineCount\":18,\n\"mappings\":\"AAuBAA,IAAA,CAAKC,OAAL,CAAa,kBAAb,CAAA;AAUAD,IAAA,CAAKE,KAAL,CAAWC,KAAX,GAAmBC,QAAQ,CAACC,OAAD,CAAU;AAGnC,MAAIF,KAAJ,CAAUG,iBAAV;AACEH,SAAA,CAAMG,iBAAN,CAAwB,IAAxB,EAA8BN,IAA9B,CAAmCE,KAAnC,CAAyCC,KAAzC,CAAA;AADF,QAEO;AACL,UAAMI,SAAQ,IAAIJ,KAAZI,EAAoBA,KAA1B;AACA,QAAIA,KAAJ;AAEE,UAAA,CAAKA,KAAL,GAAaA,KAAb;AAFF;AAFK;AAQP,MAAIF,OAAJ;AAEE,QAAA,CAAKG,OAAL,GAAeC,MAAA,CAAOJ,OAAP,CAAf;AAFF;AAYA,MAAA,CAAKK,mBAAL,GAA2B,IAA3B;AAzBmC,CAArC;AA2BAV,IAAA,CAAKW,QAAL,CAAcX,IAAd,CAAmBE,KAAnB,CAAyBC,KAAzB,EAAgCA,KAAhC,CAAA;AAIAH,IAAA,CAAKE,KAAL,CAAWC,KAAX,CAAiBS,SAAjB,CAA2BC,IAA3B,GAAkC,aAAlC;;\",\n\"sources\":[\"goog/debug/error.js\"],\n\"sourcesContent\":[\"// Copyright 2009 The Closure Library Authors. All Rights Reserved.\\n//\\n// Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n// you may not use this file except in compliance with the License.\\n// You may obtain a copy of the License at\\n//\\n// http://www.apache.org/licenses/LICENSE-2.0\\n//\\n// Unless required by applicable law or agreed to in writing, software\\n// distributed under the License is distributed on an \\\"AS-IS\\\" BASIS,\\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n// See the License for the specific language governing permissions and\\n// limitations under the License.\\n\\n/**\\n * @fileoverview Provides a base class for custom Error objects such that the\\n * stack is correctly maintained.\\n *\\n * You should never need to throw goog.debug.Error(msg) directly, Error(msg) is\\n * sufficient.\\n *\\n */\\n\\ngoog.provide('goog.debug.Error');\\n\\n\\n\\n/**\\n * Base class for custom error objects.\\n * @param {*=} opt_msg The message associated with the error.\\n * @constructor\\n * @extends {Error}\\n */\\ngoog.debug.Error = function(opt_msg) {\\n\\n // Attempt to ensure there is a stack trace.\\n if (Error.captureStackTrace) {\\n Error.captureStackTrace(this, goog.debug.Error);\\n } else {\\n const stack = new Error().stack;\\n if (stack) {\\n /** @override */\\n this.stack = stack;\\n }\\n }\\n\\n if (opt_msg) {\\n /** @override */\\n this.message = String(opt_msg);\\n }\\n\\n /**\\n * Whether to report this error to the server. Setting this to false will\\n * cause the error reporter to not report the error back to the server,\\n * which can be useful if the client knows that the error has already been\\n * logged on the server.\\n * @type {boolean}\\n */\\n this.reportErrorToServer = true;\\n};\\ngoog.inherits(goog.debug.Error, Error);\\n\\n\\n/** @override */\\ngoog.debug.Error.prototype.name = 'CustomError';\\n\"],\n\"names\":[\"goog\",\"provide\",\"debug\",\"Error\",\"goog.debug.Error\",\"opt_msg\",\"captureStackTrace\",\"stack\",\"message\",\"String\",\"reportErrorToServer\",\"inherits\",\"prototype\",\"name\"]\n}\n"]