Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22429
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!ALLTEL.NET-a2kHrUvQQWlmc!not-for-mail |
|---|---|
| Date | Fri, 27 Dec 2013 10:09:39 -0600 |
| From | MC <news@aisus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Insert Function into Error Object |
| References | <e799$52bb95fb$adbbaaad$21889@ALLTEL.NET> <9dcb900f-eeca-432e-9410-10843e8d3f00@googlegroups.com> <l9jugt$r2g$1@speranza.aioe.org> |
| In-Reply-To | <l9jugt$r2g$1@speranza.aioe.org> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <a1049$52bda62e$adbbaaad$27770@ALLTEL.NET> (permalink) |
| X-Complaints-To | abuse@usenetserver.com |
| Organization | UseNetServer.com |
| Lines | 19 |
| X-Trace | a104952bda62e81e0f0827770 |
| X-Received-Bytes | 1440 |
| X-Received-Body-CRC | 2826487554 |
| Xref | csiph.com comp.lang.javascript:22429 |
Show key headers only | View raw
On 12/27/2013 7:15 AM, Joao Rodrigues wrote: > On Fri 27/12/2013 02:17, Michael Haufe (TNO) wrote: >> On Wednesday, December 25, 2013 8:48:48 PM UTC-6, MC wrote: >> >>> Also, I do not want to extend the Error object and throw myError >>> objects. >> >> Why not? > > Yes, it is possible to extend the Error.prototype, by adding the OP's > function as a method: > <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/prototype> > > > Because it is not in the project spec. I am not allowed to create a new extended myError object. I need to add the functionality to the Error object.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Insert Function into Error Object MC <news@aisus.com> - 2013-12-25 20:48 -0600
Re: Insert Function into Error Object Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-12-26 18:46 -0200
Re: Insert Function into Error Object MC <news@aisus.com> - 2013-12-26 18:47 -0600
Re: Insert Function into Error Object "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-12-27 09:54 +0100
Re: Insert Function into Error Object MC <news@aisus.com> - 2013-12-27 10:16 -0600
Re: Insert Function into Error Object MC <news@aisus.com> - 2013-12-27 10:26 -0600
Re: Insert Function into Error Object JJ <duh@nah.meh> - 2013-12-28 00:53 +0700
Re: Insert Function into Error Object "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-12-26 20:17 -0800
Re: Insert Function into Error Object Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-12-27 11:15 -0200
Re: Insert Function into Error Object MC <news@aisus.com> - 2013-12-27 10:09 -0600
Re: Insert Function into Error Object Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-27 17:24 +0100
Re: Insert Function into Error Object MC <news@aisus.com> - 2013-12-27 10:34 -0600
Re: Insert Function into Error Object "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-12-27 17:57 +0100
Re: Insert Function into Error Object MC <news@aisus.com> - 2013-12-28 10:20 -0600
Re: Insert Function into Error Object JJ <duh@nah.meh> - 2013-12-29 07:12 +0700
Re: Insert Function into Error Object Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-12-29 20:13 +0100
Re: Insert Function into Error Object Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-29 20:31 +0100
Re: Insert Function into Error Object MC <news@aisus.com> - 2014-01-12 11:26 -0600
Re: Insert Function into Error Object "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-01-13 02:59 -0800
Re: Insert Function into Error Object Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-13 12:59 +0100
Re: Insert Function into Error Object "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-01-13 04:37 -0800
csiph-web