1 /*---------------------------------------------------------------------------* 2 * lts_error.h * 3 * * 4 * Copyright 2007, 2008 Nuance Communciations, Inc. * 5 * * 6 * Licensed under the Apache License, Version 2.0 (the 'License'); * 7 * you may not use this file except in compliance with the License. * 8 * * 9 * You may obtain a copy of the License at * 10 * http://www.apache.org/licenses/LICENSE-2.0 * 11 * * 12 * Unless required by applicable law or agreed to in writing, software * 13 * distributed under the License is distributed on an 'AS IS' BASIS, * 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 15 * See the License for the specific language governing permissions and * 16 * limitations under the License. * 17 * * 18 *---------------------------------------------------------------------------*/ 19 20 21 22 #ifndef _LTS_ERROR_H__ 23 #define _LTS_ERROR_H__ 24 25 26 typedef enum { 27 SWIsltsSuccess = 1, 28 SWIsltsErrAllocResource = 2, 29 SWIsltsInvalidParam = 3, 30 SWIsltsMaxInputExceeded = 4, 31 SWIsltsEmptyPhoneString = 5, 32 SWIsltsInternalErr = 6, 33 SSWIsltsUnknownInputChar = 7, 34 SWIsltsFileOpenErr = 8, 35 SWIsltsFileReadErr = 9, 36 SWIsltsFileWriteErr = 10 37 }SWIsltsResult; 38 39 #endif /* _LTS_ERROR_H__ */ 40