Error codes
Every error has a stable code. The messages below come straight from the interpreter, filled in with example values. Exit codes: 0 success, 1 the program had an error, 2 wrong command-line usage or unreadable file.
Lexical errors (L)
Unexpected character "@" (U+0040)
অচিনাকি আখৰ "@" (U+0040) ইয়াত ব্যৱহাৰ কৰিব নোৱাৰি
Example ধৰা ক = @
Unterminated string — a closing " is required on the same line
পাঠটো বন্ধ কৰা হোৱা নাই — একে শাৰীতে শেষত " চিহ্ন লাগিব
Example ধৰা ক = "অসম
Unterminated block comment — a closing */ is required
মন্তব্যটো বন্ধ কৰা হোৱা নাই — শেষত */ লাগিব
Example /* মন্তব্য …
Invalid escape sequence "\q". Allowed: \n \t \r \" \\
অবৈধ এস্কেপ চিহ্ন "\q"। ব্যৱহাৰ কৰিব পাৰি: \n \t \r \" \\
Example "\q"
A number cannot mix Assamese and ASCII digits: ১2
একেটা সংখ্যাত অসমীয়া আৰু ইংৰাজী অংক মিহলাই লিখিব নোৱাৰি: ১2
Example ধৰা ক = ১2
Combining mark "া" (U+09BE) has no base letter before it
"া" (U+09BE) চিহ্নটোৰ আগত কোনো আখৰ নাই
Example ধৰা ক = া
Invisible control character U+202E is not allowed in text or comments (it can make code look different from what runs)
অদৃশ্য নিয়ন্ত্ৰণ আখৰ U+202E পাঠ বা মন্তব্যত ব্যৱহাৰ কৰিব নোৱাৰি (ই ক'ডটো যিদৰে দেখা যায় তাতকৈ বেলেগ দেখুৱাব পাৰে)
Example কোৱা("abc<U+202E>cba")
Syntax errors (P)
Expected an expression but found end of input
ইয়াত এটা মান আশা কৰা হৈছিল, কিন্তু পোৱা গ'ল ফাইলৰ শেষ
Example ধৰা ক =
Invalid assignment target — only a variable or a list element may appear left of "="
"="ৰ বাওঁফালে কেৱল চলকৰ নাম বা তালিকাৰ উপাদান থাকিব পাৰে
Example ১ = ২
"ৰখা" (break) can only be used inside a loop
"ৰখা" কেৱল "যেতিয়ালৈকে" লুপৰ ভিতৰত ব্যৱহাৰ কৰিব পাৰি
Example ৰখা (outside a loop)
"ঘূৰাইদিয়া" (return) can only be used inside a function
"ঘূৰাইদিয়া" কেৱল ফাংচনৰ ভিতৰত ব্যৱহাৰ কৰিব পাৰি
Example ঘূৰাইদিয়া ১ (outside a function)
Expected a line break or ";" after the statement, but found "খ"
বাক্যৰ পিছত নতুন শাৰী বা ";" লাগিব, কিন্তু পোৱা গ'ল "খ"
Example ক খ
Expected a variable name but found "="
ইয়াত চলকৰ নাম আশা কৰা হৈছিল, কিন্তু পোৱা গ'ল "="
Example ধৰা = ৫
"যদি" is a reserved keyword and cannot be used as a name
"যদি" এটা সংৰক্ষিত শব্দ; ইয়াক নাম হিচাপে ব্যৱহাৰ কৰিব নোৱাৰি
Example ধৰা যদি = ৫
Program is nested too deeply: more than 256 levels of brackets or blocks
প্ৰগ্ৰামটোৰ গঠন অতি গভীৰ: ২৫৬তকৈ বেছি স্তৰৰ বন্ধনী বা ব্লক
Example (((((… ৩০০ levels …)))))
"আগবাঢ়া" (continue) can only be used inside a loop
"আগবাঢ়া" কেৱল "যেতিয়ালৈকে" লুপৰ ভিতৰত ব্যৱহাৰ কৰিব পাৰি
Example আগবাঢ়া (outside a loop)
Runtime errors (R)
Undefined variable "খ" (declare it first with "ধৰা")
"খ" নামৰ কোনো চলক ঘোষণা কৰা হোৱা নাই (প্ৰথমে "ধৰা খ = …" লিখক)
Example কোৱা(খ) (খ never declared)
"ক" is already declared in this scope
"ক" এই পৰিসৰত ইতিমধ্যে ঘোষণা কৰা হৈছে
Example ধৰা ক = ১; ধৰা ক = ২
Cannot apply "-" to text and number
"-" ব্যৱহাৰ কৰিব নোৱাৰি: বাওঁফালে পাঠ, সোঁফালে সংখ্যা
Example "ক" - ১
Cannot call a value of type number
সংখ্যা এটা ফাংচন নহয়, গতিকে ইয়াক মাতিব নোৱাৰি
Example ধৰা ক = ৫; ক()
"যোগ" expects 2 argument(s) but got 1
"যোগ" ফাংচনে ২টা মান বিচাৰে, কিন্তু ১টা দিয়া হৈছে
Example যোগ(১)
A condition must be a boolean (সঁচা/মিছা) but got number
চৰ্তটো সঁচা বা মিছা হ'ব লাগিব, কিন্তু ইয়াৰ প্ৰকাৰ সংখ্যা
Example যদি (১) { }
Execution step limit of 10000000 exceeded — possible infinite loop
১০০০০০০০টা পদক্ষেপৰ সীমা পাৰ হ'ল — হয়তো লুপটো কেতিয়াও শেষ নহয়
Example যেতিয়ালৈকে (সঁচা) { }
Maximum call depth of 500 exceeded — possible infinite recursion
ফাংচন মতাৰ গভীৰতা ৫০০ পাৰ হ'ল — হয়তো ৰিকাৰ্চন কেতিয়াও শেষ নহয়
Example ফাংচন ফ() { ঘূৰাইদিয়া ফ() }
An index must be a whole number but got ০.৫
সূচী এটা অখণ্ড সংখ্যা হ'ব লাগিব, কিন্তু পোৱা গ'ল ০.৫
Example ল[০.৫]
Argument 1 of "দৈৰ্ঘ্য" must be text or list but got number
"দৈৰ্ঘ্য" ফাংচনৰ ১ নম্বৰ মানটো পাঠ বা তালিকা হ'ব লাগিব, কিন্তু পোৱা গ'ল সংখ্যা
Example দৈৰ্ঘ্য(৫)
Text values are immutable; build a new text instead
পাঠৰ আখৰ সলনি কৰিব নোৱাৰি; তাৰ সলনি নতুন পাঠ এটা বনাওক
Example ধৰা শ = "ক"; শ[০] = "খ"
Operands of "আৰু" must be boolean but got number
"আৰু"ৰ দুয়োফালে সঁচা বা মিছা লাগিব, কিন্তু পোৱা গ'ল সংখ্যা
Example ১ আৰু সঁচা
Nesting too deep: the interpreter ran out of stack space; reduce the recursion depth
প্ৰগ্ৰামটো অতি গভীৰলৈ সোমাই গ'ল আৰু ইন্টাৰপ্ৰেটাৰৰ ষ্টেক শেষ হ'ল; ৰিকাৰ্চনৰ গভীৰতা কমাওক
Example very deep recursion with a raised --max-depth
List is too long — the maximum length is 1000000
তালিকাখন অতি দীঘল হ'ল — সৰ্বোচ্চ দৈৰ্ঘ্য ১০০০০০০
Example ধৰা ল = [১]; যেতিয়ালৈকে (সঁচা) { ল = ল + ল }
"দৈৰ্ঘ্য" is a built-in and cannot be reassigned (declare your own with "ধৰা")
"দৈৰ্ঘ্য" এটা অন্তৰ্নিৰ্মিত ফাংচন; ইয়াক সলনি কৰিব নোৱাৰি (নিজৰ বাবে "ধৰা দৈৰ্ঘ্য = …" লিখক)
Example দৈৰ্ঘ্য = ৫