Alternate version of json_throw_exception, where msg
is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
character(kind=CDK,len=*), | intent(in) | :: | msg | the error message |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
subroutine wrap_json_throw_exception(json,msg)
implicit none
class(json_core),intent(inout) :: json
character(kind=CDK,len=*),intent(in) :: msg !! the error message
call json%throw_exception(to_unicode(msg))
end subroutine wrap_json_throw_exception