Trappable Error Codes

Trappable errors occur when your code attempts to set a property at an invalid time or uses invalid data.

The following tables list trappable error names, values, and descriptions.

Name

Value

Description

vbvErrBadNode

32000

GotoNode property was set to an invalid number, or node not connected.
vbvErrBadControlName

32001

GotoControl property or ErrorHandler control was set to an unknown control name
vbvErrBadParm

32002

Attempt to set a property to an invalid value. See description of property in question
vbvErrBadDial

32003

Attempt to set the NumToDial property to an number containing invalid digits or number too long.
vbvErrCallNotHere

32005

Attempt to set a property in a control when the call was not active in that control. Some properties can only be set when the call is active.
vbvErrWrongState

32006

Control cannot accept property changes at this time
vbvErrFuncFailed

32007

Voice driver function failed during a set property
vbvErrSysNotStarted

32008

Attempt to set a property that is only available after the voice engine has been started.
vbvErrNoConnection

32009

Attempt to set the mode property in the LineGroup control, when a valid connection for the output associated with that mode does not exist.
vbvErrPhraseNotAllowed

32010

Cannot use this phrase type in a phrase object
vbvErrAddPhrs

32011

Error while adding phrase
vbvErrPhraseNotFound

32012

Attempt to access a nonexisting phrase
vbvErrNoNotify

32014

Conference control
vbvErrBadNotify

32015

Conference control
vbvErrSysStarted

32016

Operation cannot be competed while system is started
vbvErrCannotSetODBC

32017

ODBC error
vbvErrQueryIF_Failed

32018

Query interface failed
vbvErrLineInUse

32019

LineGroup: line is already in use by another control
vbvErrNoLine

32020

LineGroup: attempt to remove line that is not allocated
vbvErrNotTapi

32021

Attempt to use a property that is not supported in non-Tapi versions
vbvErrNoConf

32022

Conference: conference does not exist
vbvErrNoConfID

32023

Conference: no conferenceID for this channel
vbvErrWrongConfID

32024

Conference: wrong conferenceID or wrong channel
vbvErrWrongStatus

32025

Conference: channel is in wrong state
vbvErrNoRight

32026

Conference: listener has no rights to perform operation
vbvErrCreate

32027

Conference: failed to create a conference
vbvErrAddMember

32028

Conference:failed to add a member to a conference
vbvErrCmdInProgress

32029

LineGroup: start channel already in progress

System Start-Up Errors

System Start-Up Errors are trappable errors.

Name

Value

Description

vbvErrInTestMode

32100

Cannot start system if test is running
vbvErrSystemStarted

32101

System is already started
vbvErrNotInRunMode

32102

VB is not in run mode
vbvErrCannotLoadVoiceCard

32103

Voice card driver cannot be loaded
vbvErrSystemErrors

32104

Errors were detected during check system
vbvErrNoFrame

32106

This project has no frame control
vbvErrPhoneInitFail

32105

Errors were detected during line initialization

Standard VB Trappable Errors

Name

Value

Description

Invalid Property Index

381

Returned when an invalid channel is referenced.