[#ThreadPool-SubmitError]
= xref:ThreadPool.adoc[ThreadPool]::SubmitError
:relfileprefix: ../
:mrdocs:

Reason a task submission was rejected by the pool&period;

== Synopsis

Declared in `&lt;util&sol;threadpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class SubmitError : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `Inactive` 
| The pool has no workers (never started or already stopped)&period;
| `Interrupted` 
| Task acceptance has been interrupted (shutdown in progress)&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:SubmitErrorString.adoc[`&colon;&colon;SubmitErrorString`]
| Returns a human&hyphen;readable description of a task submission error&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
