====== OSA : OS_IsError ======
**bool OS_IsError ()**\\
=== ===
Check if error in ##[[en:osa:ref:allservices:OS_Task_Create|OS_Task_Create]]##.
=== Call allowed: ===
Everywhere
=== Parameters: ===
None
=== Returns: ===
{| class = "fpl"
|-
|//''false''//
| Task was created successfully
|-
|//''true''//
| There was no free task descriptor to create task.
|}
=== Example: ===
void Task (void)
{
for (;;) {
/*...*/
OS_IsError ();
/*...*/
}
}
=== See also ===
----
* [[en:osa:ref:services:alphabetical|Alphabetical]]
* [[en:osa:ref:services:brieflist|All services]]
~~UP~~