use existing error description
This commit is contained in:
parent
898306f82e
commit
85b96209e3
|
@ -498,9 +498,6 @@ subroutine IO_error(error_ID,el,ip,g,instance,ext_msg)
|
||||||
msg = 'Abrupt end of file'
|
msg = 'Abrupt end of file'
|
||||||
case (708)
|
case (708)
|
||||||
msg = '--- expected after YAML file header'
|
msg = '--- expected after YAML file header'
|
||||||
case (710)
|
|
||||||
msg = 'key mismatch'
|
|
||||||
|
|
||||||
|
|
||||||
!-------------------------------------------------------------------------------------------------
|
!-------------------------------------------------------------------------------------------------
|
||||||
! errors related to the grid solver
|
! errors related to the grid solver
|
||||||
|
|
|
@ -952,7 +952,7 @@ function tNode_get_byKey_asIndex(self,key) result(keyIndex)
|
||||||
endif
|
endif
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
if(keyIndex == -1) call IO_error(710,ext_msg=key)
|
if(keyIndex == -1) call IO_error(140,ext_msg=key)
|
||||||
|
|
||||||
|
|
||||||
end function tNode_get_byKey_asIndex
|
end function tNode_get_byKey_asIndex
|
||||||
|
|
Loading…
Reference in New Issue