Skip to content

Commit

Permalink
docs(external): fix fallibility badge
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Dec 6, 2024
1 parent 87c04eb commit 22ce100
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion website/cue/reference/remap/functions/parse_float.cue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ remap: functions: parse_float: {
type: ["string"]
},
]
internal_failure_reasons: []
internal_failure_reasons: [
"`value` is not a string.",
]
return: types: ["float"]

examples: [
Expand Down
5 changes: 4 additions & 1 deletion website/cue/reference/remap/functions/parse_regex_all.cue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ remap: functions: parse_regex_all: {
type: ["regex"]
},
]
internal_failure_reasons: []
internal_failure_reasons: [
"`value` is not a string.",
"`pattern` is not a regex.",
]
return: {
types: ["array"]
rules: [
Expand Down

0 comments on commit 22ce100

Please sign in to comment.