export const getErrorMessageExceptionList = ( { id , listId , } ) : string => { if ( id != null ) { return `exception list id: "${ id }" does not exist` ; } else if ( listId != null ) { return `exception list list_id: "${ listId }" does not exist` ; } else { return 'exception list does not exist' ; } } ;