!! provide error codes used by log process !|author: Giovanni Ravazzani ! license: GPL ! !### History ! ! current version 1.0 - 29th September 2018 ! ! | version | date | comment | ! |----------|-------------|----------| ! | 1.0 | 29/Sep/2008 | Original code | ! ! !### License ! license: GNU GPL ! ! This file is part of ! ! MOSAICO -- MOdular library for raSter bAsed hydrologIcal appliCatiOn. ! ! Copyright (C) 2011 Giovanni Ravazzani ! !### Code Description ! Language: Fortran 90. ! ! Software Standards: "European Standards for Writing and ! Documenting Exchangeable Fortran 90 Code". ! !### Module Description ! define error codes used by log process ! MODULE ErrorCodes IMPLICIT NONE ! Global Parameters: ! return codes INTEGER, PARAMETER :: openFileError = 1000 !! error in opening a file INTEGER, PARAMETER :: closeFileError = 1001 !! error in closing a file INTEGER, PARAMETER :: genericIOError = 1002 !! generic read-write error INTEGER, PARAMETER :: iniIOError = 1003 !! ini file read-write error INTEGER, PARAMETER :: memAllocError = 1004 !! memory allocation error INTEGER, PARAMETER :: unknownOption = 1005 !! unknown option INTEGER, PARAMETER :: getUnitError = 1006 !! error getting free fortran unit INTEGER, PARAMETER :: consistencyError = 1007 !! consistency error INTEGER, PARAMETER :: ncIOError = 1008 !! netCDF input / output INTEGER, PARAMETER :: DateTimeError = 1009 !! error in DateTime format END MODULE ErrorCodes