Enables scripted content fragments to log exceptions.
Methods
Log
Log Overload 1
Logs an exception
Velocity
#set($additionalInfoResponse = $core_v2_exceptions.Log($message))
JavaScript
var additionalInfoResponse = core_v2_exceptions.Log(message);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | String | Log message | Required |
Log Overload 2
Logs an exception
Velocity
#set($additionalInfoResponse = $core_v2_exceptions.Log($message, "%{ Type = $typeArg }"))
JavaScript
var additionalInfoResponse = core_v2_exceptions.Log(message, { Type: typeArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | String | Log message | Required | ||
Type | String | Optional exception type | Optional | ContentFragmentRenderingError | AccessDenied, AdministrationAccessDenied, AdminLoginDisabledFromIP, ApiLoadException, BackgroundJobError, BlogFileQuotaExceeded, BlogFileStorageNotAllowed, CommentsNotSupportedByContentType, ContentFragmentConfigurationError, ContentFragmentRenderingError, ContentUnderReview, CreateUser, CssFileRenderingError, DataProvider, EmailTemplateNotFound, EmailUnableToBeProcessed, EmailUnableToSend, EmbeddableContentException, FeatureNotEnabled, FieldGroupDuplicate, FileNameTooLong, FileNotFound, FileStoragePathTooLong, FileTypeNotValid, ForumThreadUnsubscribe, GeneralAccessDenied, GroupMessagesDisabled, GroupNotFound, LdapPackageNotInstalled, LicenseAccessError, LicensingRestriction, MailingListEmailAlreadyExists, MaximumFileSizeExceeded, MembershipPending, NotificationDistributionError, OAuthClientNotFound, OAuthClientRequestNotAllowed, OAuthLoginFailed, OAuthWebRequestFailure, OverAllowableUsersLicenseLimit, PageNotFound, PluginInitializationError, PluginUninitializationError, PostCommentTooLong, PostDeleteAccessDenied, PostDuplicate, PostNotFound, PostPendingModeration, PostProblem, ResourceNotFound, RoleNotFound, RoleOperationUnavailable, RuleExecutionError, SearchIndexingError, SearchUnknownError, SectionNotFound, ServiceBindingError, SiteFileQuotaExceeded, SiteFileStorageNotAllowed, SiteSettingsInvalidXML, SiteUrlDataProvider, SiteUrlMisconfiguration, SkinNotFound, SystemNotificationResolved, SystemUserNotFound, TemplateParseError, TenantNotActive, TenantNotFound, UnknownError, UnknownHttpError, UnKnownProvider, UnRegisteredSite, UserAccountBanned, UserAccountCreated, UserAccountCreatedAuto, UserAccountDisapproved, UserAccountLocked, UserAccountPending, UserAccountRegistrationDisabled, UserAccountRequiresValidInvitation, UserFileQuotaExceeded, UserFileStorageNotAllowed, UserInvalidCredentials, UserIsSystemAccount, UserLoginDisabled, UserNotFound, UserPasswordChangeFailed, UserProfileUpdated, UserSearchNotFound, UserUnknownLoginError, ValidationError, WebhookDeliveryFailed, WeblogsDisabled, WikiDefaultPageLocked, WikiPageKeyDuplicate, WikiPageNotFound |