5

Source: You Don't Know JS: this & Object Prototypes by Kyle Simpson (2014)

Example:

Now we have an infinite circular duplication problem because of the circular reference. Should we detect a circular reference and just break the circular traversal (leaving the deep element not fully duplicated)? Should we error out completely? Something in between?

What exactly would you say the phrasal verb error out means? Please, give a bunch of examples.

  • This has something to do with programming language, not English. Error out and Error in are two different types of Error clusters. Check this link, too. – Usernew Dec 12 '15 at 16:10
  • 8
    @Usernew In this case, it's slang for "raise an error immediately", vs. attempting to recover. Error clusters are different. – Nic Hartley Dec 12 '15 at 17:30
17

Error out is programming jargon/slang that is synonymous with "bail out" -- exit the process entirely without attempting to recover to some degree.

The noun error is being used as a verb, a kind of shorthand for "raise an error".

  • Note that when you see a noun used as a verb it normally means to do what is normally done with the noun. Thus to error out is to throw an error. – Loren Pechtel Dec 12 '15 at 20:55
  • 1
    It's worth noting that in this context, "process" means the hypothetical copy() function or method, not "process" as in firefox.exe. – Tim S. Dec 12 '15 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.