136
7
Challenge
Write the shortest program that, when compiled or executed, produces a fatal error message smaller than the program itself. The error message may not be generated by the program itself, such as Python's raise
. A valid answer must include both the code and the error message. Shortest valid answer wins.
No error message does not count as an error message.
Example (Lua)
Code (46 bytes):
[
--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Error (45 bytes):
[string "[..."]:1: unexpected symbol near '['
Comments are not for extended discussion; this conversation has been moved to chat.
– Dennis – 2017-07-28T16:18:05.4331@Dennis I guess that's one way of solving the "OP doesn't edit clarifications into question" problem. – Ørjan Johansen – 2017-07-29T23:52:26.543
1
Thanks for accepting my answer, which got the most votes; however, this was tagged [tag:code-golf], so you should accept this answer, which is the shortest.
– MD XF – 2017-11-24T21:38:27.170@smartpeople is this: "
__main__.CodeException: Raised an &rror.
" my error or is this:"Raised an &rror.
" – FantaC – 2017-12-25T17:13:09.410TrumpScript running in China? – Stan Strum – 2018-01-30T06:34:43.807
Is an input allowed (adding the used input to the byte-count of course)? I could save a couple bytes by taking a one-char input and trying to parse it as a number. – Kevin Cruijssen – 2018-06-29T11:52:41.093