---
id: topic/dev-itpro/development/programming-in-the-al-language/error-handling/al-language-reference-errors
type: topic
title: AL language reference (errors)
summary: "Learn section Development > Programming in the AL language > Error handling > AL language reference (errors): 5 Microsoft Learn pages. Index of what Learn documents here, linked to Learn."
tier: official
language: en
system: development
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-08T00:04:31.553Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 79f3eb288cfa219f48ce10bd775c8d20822449767fd9fb9508c269563d9ae196
evidence:
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-error-collection-api
    title: Collectible errors API
    date: "2023-12-25"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-error-errorinfo-method
    title: Dialog.Error(ErrorInfo) Method
    date: "2026-10-01"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-error-string-joker-method
    title: Dialog.Error(Text [, Any,...]) Method
    date: "2026-10-01"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-loginternalerror-string-dataclassification-verbosity-method
    title: Dialog.LogInternalError(Text, DataClassification, Verbosity) Method
    date: "2026-10-01"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-loginternalerror-string-string-dataclassification-verbosity-method
    title: Dialog.LogInternalError(Text, Text, DataClassification, Verbosity) Method
    date: "2026-10-01"
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-error-collection-api
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-error-errorinfo-method
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-error-string-joker-method
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-loginternalerror-string-dataclassification-verbosity-method
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-loginternalerror-string-string-dataclassification-verbosity-method
  objects: []
  features: []
  topics:
    - topic/dev-itpro/development/programming-in-the-al-language/error-handling
  localizations: []
  videos: []
  posts: []
  guidelines: []
learn_toc_path:
  - Development
  - Programming in the AL language
  - Error handling
  - AL language reference (errors)
toc_file: dev-itpro/TOC.md
parent: topic/dev-itpro/development/programming-in-the-al-language/error-handling
children: []
coverage:
  learn: 5
  code: 0
  video: 0
  blog: 0
  guideline: 0
bc_forms: []
member_hash: 79f3eb288cfa219f48ce10bd775c8d20822449767fd9fb9508c269563d9ae196
narrative: none
---

# AL language reference (errors)

> Learn section Development > Programming in the AL language > Error handling > AL language reference (errors): 5 Microsoft Learn pages. Index of what Learn documents here, linked to Learn.

Path: [Development](../../../development.md) > [Programming in the AL language](../../programming-in-the-al-language.md) > [Error handling](../error-handling.md) > AL language reference (errors) · tier official · system development · no narrative yet

## Learn pages

- [Collectible errors API](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-error-collection-api): Master AL programming with collectible error handling.
- [Dialog.Error(ErrorInfo) Method](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-error-errorinfo-method): Displays an error message and ends the execution of AL code.
- [Dialog.Error(Text [, Any,...]) Method](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-error-string-joker-method): Displays an error message and ends the execution of AL code.
- [Dialog.LogInternalError(Text, DataClassification, Verbosity) Method](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-loginternalerror-string-dataclassification-verbosity-method): Log internal errors for telemetry.
- [Dialog.LogInternalError(Text, Text, DataClassification, Verbosity) Method](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-loginternalerror-string-string-dataclassification-verbosity-method): Log internal errors for telemetry.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn's own.
