code	meaning	fix	example
1	stdin read failed	Give omc a readable source file on stdin.	err01_input
2	stdout write failed	Write omc stdout to a regular file with space.	err02_output
3	unknown name or field	Declare the name first, or fix its spelling.	err03_unknown_name
4	line ends early	Supply the missing operand matching the word form.	err04_line_ends
5	extra words	Remove extra words or split the statement across lines.	err05_extra_words
6	malformed number	Write plain decimal or OM-2 lowercase 0x hex digits.	err06_bad_number
7	type mismatch	Convert explicitly with a type word, e.g. add int a int b.	err07_type_mismatch
8	out of range	Use a value inside the target type range or a wider type.	err08_out_of_range
9	word not allowed here	Move the statement to a valid position or use a valid alternative.	err09_disallowed
10	duplicate name	Choose an unused name in the visible scope.	err10_duplicate
11	ambiguous bare number	Prefix the literal with a type word, e.g. x = int 5.	err11_ambiguous
12	register pool exhausted	Split work into helpers or shorten live ranges so at most 16 values stay live.	err12_registers
13	name too long	Shorten the name: max 63 bytes (8 bytes for abstract, layout, layout fields, and IR mode).	err13_long_name
14	capacity exceeded	Stay within OMEGESE 9.6 construct bounds, split the unit, or raise OMC_MEMORY_MAX.	err14_capacity
15	missing end	Close each open fn, if, while, for, struct, or layout block with end.	err15_missing_end
16	syntax error or unknown word	Check keyword spelling, prefix form, and reserved word collisions.	err16_syntax
17	line after a path end	Delete the unreachable statement or move it before ret, break, continue, exit, or trap.	err17_after_path
18	missing ret	Return a value on each path, or change the function result type to void.	err18_missing_ret
19	global passed or same array twice	Access globals directly by name instead of passing them; pass distinct arrays.	err19_global_arg
20	write to a read-only array	Write into a local array, global array, or edit array parameter instead of view or text.	err20_readonly
21	constant index out of range	Use a constant index strictly below the array length.	err21_const_index
22	bad text literal	Use only \n, \t, \\, and \" escapes and close the double quote.	err22_text_escape
23	size capacity	Keep arrays within 16777216 elements, 4 MiB locals per function, and 1 GiB globals.	err23_size
24	branch displacement out of range	Split very large functions or loops exceeding ~1 MiB between branch and target.	generated_e24
25	not available on this target	Use the default AArch64 Linux target or restrict words to what the selected target supports.	err25_target
26	bad memory ceiling	Unset OMC_MEMORY_MAX or set a plain decimal byte count (0 disables the cap).	env_memory_max
27	fresh element read before write (OM-2)	Write each element of a fresh scratch array with put before reading it.	err27_fresh
28	abstract constructor violation (OM-2)	Call seal only inside the matching constructor function named NAME followed by mk.	err28_seal
29	layout violation (OM-2)	Place layout blocks before the first fn, keep SIZE and COUNT in 1..4096, and avoid field overlap.	err29_layout
30	contract syntax (OM-2)	Place requires/ensures/invariant first in the body using pure integer/bool expressions only.	err30_contract
