• Preparing search index...
  • The search index is not available
vlocode-project - v1.29.4
  • vlocode-project
  • @vlocode/util
  • isCustomError

Function isCustomError

  • isCustomError(error): error is CustomError
  • Validate that the specified object is a CustomError

    Parameters

    • error: unknown

    Returns error is CustomError

    • Defined in packages/util/src/errors.ts:38

Settings

Member Visibility

Theme

vlocode-project - v1.29.4
  • @vlocode/core
  • @vlocode/omniscript
  • @vlocode/salesforce
  • @vlocode/util
    • Iterable
    • XML
    • sfdx
    • AsyncEventEmitter
    • AwaitableAsyncGenerator
    • CancellationTokenSource
    • CustomError
    • Decorator
    • DeferredPromise
    • HookManager
    • PropertyTransformHandler
    • Task
    • ThenablePromise
    • TimedMap
    • Timer
    • TransactionalMap
    • ArrayChangedEventArgs
    • CacheOptions
    • CallHook
    • CancellationToken
    • CompileOptions
    • DeviceLoginFlow
    • EventEmitting
    • EventEmittingType
    • ExecuteOptions
    • FileSystemUri
    • ObjectEqualsOptions
    • PostCallHookArguments
    • PreCallHookArguments
    • ProgressReporter
    • PropertyChangedEventArgs
    • SalesforceAuthResult
    • SalesforceOAuth2LoginOptions
    • SalesforceOrgInfo
    • SfdxConfig
    • StackFrame
    • TaskPromise
    • TextPosition
    • TextRange
    • TimedMapOptions
    • XMLParseOptions
    • XMLStringfyOptions
    • ArrayElement
    • AsyncEventHandler
    • Await
    • AwaitReturnType
    • ErrorOptions
    • EventDefinitions
    • ExtractProperties
    • Observable
    • ObservableArray
    • OptionalPromise
    • PropertyTransformer
    • ValueTransformer
    • ValueType
    • RequiredMetadataKey
    • afterHook
    • beforeHook
    • errorHook
    • options
    • addFieldsToQuery
    • arrayMapPush
    • arrayMapUnshift
    • asArray
    • asString
    • cache
    • cacheFunction
    • calculateHash
    • caseInsensetive
    • chunkArray
    • chunkAsyncParallel
    • clearCache
    • compileFunction
    • count
    • countDistinct
    • createRecordProxy
    • decodeSalesforceId
    • decorate
    • deepClone
    • deepCompare
    • deepFreeze
    • destroyAllSingletons
    • directoryName
    • encodeQueryString
    • encodeRFC3986URI
    • endsWith
    • escapeHtmlEntity
    • evalExpr
    • evalTemplate
    • except
    • extractNamespaceAndName
    • fileExists
    • fileName
    • fileSuffix
    • filterAsyncParallel
    • filterKeys
    • filterObject
    • filterUndefined
    • findField
    • findFirstMatch
    • flatten
    • flattenObject
    • forEachAsync
    • forEachAsyncParallel
    • format
    • formatString
    • getDocumentBody
    • getDocumentBodyAsString
    • getErrorMessage
    • getInstance
    • getObjectProperty
    • getObjectValues
    • getParameterTypes
    • getPropertyKey
    • getStackFrameDetails
    • groupBy
    • intersect
    • isAlphaNumeric
    • isAlphaNumericChar
    • isCustomError
    • isLowercaseChar
    • isNumericChar
    • isPromise
    • isReadonlyArray
    • isSalesforceId
    • isThenable
    • isUndefinedOrNull
    • isUppercaseChar
    • joinLimit
    • last
    • lazy
    • lowerCamelCase
    • makeRetryable
    • mapAsync
    • mapAsyncParallel
    • mapBy
    • mapGetOrCreate
    • mapKeys
    • mapMerge
    • mapSetNested
    • mapToObject
    • merge
    • normalizeName
    • normalizeSalesforceName
    • nullCheck
    • objectCompare
    • objectEquals
    • objectHash
    • observeArray
    • observeObject
    • partition
    • pluralize
    • poll
    • preventParallel
    • primitiveCompare
    • proxySpread
    • readDirectory
    • remove
    • removeAll
    • removeNamespacePrefix
    • removeUndefinedProperties
    • resumeOnce
    • retryable
    • sanitizePath
    • segregate
    • setMapAdd
    • setObjectProperty
    • singleton
    • singletonMixin
    • sortBy
    • sortProperties
    • spreadAsync
    • streamToBuffer
    • stringEquals
    • stringEqualsIgnoreCase
    • substringAfter
    • substringAfterLast
    • substringBefore
    • substringBeforeLast
    • substringBetween
    • substringBetweenLast
    • thenCall
    • thenablePromise
    • timeout
    • transformPropertyProxy
    • unique
    • validate
    • visitObject
    • wait
    • withDefaults
  • @vlocode/vlocity
  • @vlocode/vlocity-deploy