use existing error description

This commit is contained in:
Sharan Roongta 2020-10-01 01:51:31 +02:00
parent 898306f82e
commit 85b96209e3
2 changed files with 1 additions and 4 deletions

View File

@ -498,9 +498,6 @@ subroutine IO_error(error_ID,el,ip,g,instance,ext_msg)
msg = 'Abrupt end of file'
case (708)
msg = '--- expected after YAML file header'
case (710)
msg = 'key mismatch'
!-------------------------------------------------------------------------------------------------
! errors related to the grid solver

View File

@ -952,7 +952,7 @@ function tNode_get_byKey_asIndex(self,key) result(keyIndex)
endif
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