Пример #1
0
        /// <summary>
        /// Creates a GribApiException instance using an error code returned by grib_api.
        /// </summary>
        /// <param name="errCode">The error code.</param>
        /// <returns></returns>
        public static GribApiException Create(int errCode)
        {
            string msg = GribApiProxy.GribGetErrorMessage(errCode);

            return(new GribApiException(msg));
        }