m_error_v_w Module

Wrapper for interfacing m_error_v with Python

Written by hand here. Generation to be automated in future (including docstrings of some sort).


Uses

  • module~~m_error_v_w~~UsesGraph module~m_error_v_w m_error_v_w module~m_error_v_manager m_error_v_manager module~m_error_v_w->module~m_error_v_manager module~m_error_v m_error_v module~m_error_v_w->module~m_error_v module~m_error_v_manager->module~m_error_v

Contents


Subroutines

public subroutine build_instance(code, message, instance_index)

Build an instance

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: code

Error code

Use [TODO: figure out xref] NO_ERROR_CODE if there is no error

character(len=*), intent(in), optional :: message

Error message

integer, intent(out) :: instance_index

Instance index of the built instance

public subroutine finalise_instance(instance_index)

Finalise an instance

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: instance_index

Instance index

public subroutine finalise_instances(instance_indexes)

Finalise an instance

Arguments

TypeIntentOptionalAttributesName
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

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: n

public subroutine get_code(instance_index, code)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: instance_index
integer, intent(out) :: code

public subroutine get_message(instance_index, message)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: instance_index
character(len=128), intent(out) :: message