Skip to content

Commit 69c6df6

Browse files
committed
update
1 parent ea967d6 commit 69c6df6

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

articles/azure-resource-manager/bicep/diagnostics/bcp007.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 08/23/2024
88

99
# Bicep error code - BCP007
1010

11-
This error occurs when the declaration type isn't recognized.
11+
This error occurs when the declaration type isn't recognized. For a list of declaration types, see [Understand the structure and syntax of Bicep files](../file.md).
1212

1313
## Error description
1414

@@ -20,7 +20,7 @@ Use the correct declaration type. For more information, see [Bicep file](../file
2020

2121
## Examples
2222

23-
The following example raises the error because *parameter* isn't a correct declaration type:
23+
The following example raises the error because `parameter` isn't a correct declaration type:
2424

2525
```bicep
2626
parameter name string

articles/azure-resource-manager/bicep/diagnostics/bcp009.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ ms.date: 08/23/2024
88

99
# Bicep error code - BCP009
1010

11-
This error occurs when the declaration misses a literal value, an array, an object, a parenthesized expression, or a function call at the location.
11+
This error occurs when a declaration is not completed.
1212

1313
## Error description
1414

1515
`Expected a literal value, an array, an object, a parenthesized expression, or a function call at this location.`
1616

1717
## Solution
1818

19-
Including the missing part. For more information, see [Bicep file](../file.md).
19+
Include the missing part. For more information, see [Bicep file](../file.md).
2020

2121
## Examples
2222

articles/azure-resource-manager/bicep/diagnostics/bcp018.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ output colors array = [
6060

6161
For more information, see [Arrays](../data-types.md#arrays).
6262

63-
The following example raises the error because the code is missing `=`.
63+
The following example raises the error because the code is missing `=` and the assigned value.
6464

6565
```bicep
6666
output month int
@@ -76,4 +76,4 @@ For more information, see [Outputs](../file.md#outputs).
7676

7777
## Next steps
7878

79-
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).
79+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp057.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This error occurs when the referenced name doesn't exist, either due to a typo o
1616

1717
## Solution
1818

19-
Fix the typo or declare the name.
19+
Fix the typo or declare the symbol.
2020

2121
## Examples
2222

articles/azure-resource-manager/bicep/diagnostics/bcp071.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 07/15/2024
88

99
# Bicep error code - BCP071
1010

11-
This error occurs when the function is given an incorrect number of arguments.
11+
This error occurs when a function is given an incorrect number of arguments. For a list of system defined functions, see [Bicep functions](../bicep-functions-any.md). To define you own functions, see [User-defined functions](../user-defined-functions.md).
1212

1313
## Error description
1414

@@ -34,4 +34,4 @@ var tooManyArgs = split('a,b', ',', '?')
3434

3535
## Next steps
3636

37-
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).
37+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp153.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 08/23/2024
88

99
# Bicep error code - BCP153
1010

11-
This error occurs when you have a `@batchSize()` decorator but miss the type declaration.
11+
This error occurs when you have a decorator that is expecting to be followed by a `resource` or `module` declaration, but miss the declaration.
1212

1313
## Error description
1414

0 commit comments

Comments
 (0)