Wrapper for interfacing [[m_error_v(module)::ErrorV(type)]] with Python
Written by hand here. Generation to be automated in future (including docstrings of some sort).
Build an instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | code | Error code |
||
| character(len=*), | intent(in), | optional | :: | message | Use NO_ERROR_CODE if there is no error Error message |
|
| integer, | intent(out) | :: | instance_index | Instance index of the built instance |
Finalise an instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | instance_index | Instance index |
Finalise an instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(:) | :: | instance_indexes | Instance indexes to finalise |
Ensure that at least n instances of ErrorV can be passed via the manager simultaneously
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | instance_index | |||
| integer, | intent(out) | :: | code |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | instance_index | |||
| character(len=128), | intent(out) | :: | message |