Here are some error codes that Excel knows about, stored in XML format:
<Cell><Data ss:Type="Error">#DIV/0!</Data></Cell>
<Cell><Data ss:Type="Error">#NUM!</Data></Cell>
<Cell><Data ss:Type="Error">#VALUE!</Data></Cell>
<Cell><Data ss:Type="Error">#N/A</Data></Cell>
<Cell><Data ss:Type="Error">#NAME?</Data></Cell>
<Cell><Data ss:Type="Error">#REF!</Data></Cell>
<Cell><Data ss:Type="Error">#NULL!</Data></Cell>
Only the first two are important for your question, but I added the rest for the sake of completeness.
, , NaN, DIV/0, INF
DIV/0 #DIV/0!. , Excel NaN INF, #NUM!. , #NUM!, , - .
=ASIN(2)
=EXP(EXP(10))
, : Excel ( ) . , .