8

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.

2
  • 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, 2015 at 16:10
  • 8
    @Usernew In this case, it's slang for "raise an error immediately", vs. attempting to recover. Error clusters are different.
    – anon
    Dec 12, 2015 at 17:30

1 Answer 1

22

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".

2
  • 1
    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. Dec 12, 2015 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, 2015 at 21:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .