====== OSA : OS_IsError ======
<color blue>**bool OS_IsError ()**</color>\\ 
=== ===

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: ===
<code cpp>
void Task (void)
{
    for (;;) {
        /*...*/
        OS_IsError ();
        /*...*/
    }
}
</code>

=== See also ===

----
  * [[en:osa:ref:services:alphabetical|Alphabetical]]
  * [[en:osa:ref:services:brieflist|All services]]
~~UP~~