Preparing search index...
The search index is not available
retirement-calculator - v1.1.0
retirement-calculator
src/errors/DynamicGlidepathErrors
formatForAPI
Function formatForAPI
format
ForAPI
(
errors
)
:
{
errors
:
{
code
:
GlidepathErrorCode
;
field
:
string
;
message
:
string
;
suggestion
:
string
;
severity
:
ErrorSeverity
;
category
:
ErrorCategory
;
}
[]
;
summary
:
ReturnType
<
typeof
getSummary
>
;
}
Convert errors to API-friendly format.
Parameters
errors
:
DynamicGlidepathError
[]
Returns
{
errors
:
{
code
:
GlidepathErrorCode
;
field
:
string
;
message
:
string
;
suggestion
:
string
;
severity
:
ErrorSeverity
;
category
:
ErrorCategory
;
}
[]
;
summary
:
ReturnType
<
typeof
getSummary
>
;
}
errors
:
{
code
:
GlidepathErrorCode
;
field
:
string
;
message
:
string
;
suggestion
:
string
;
severity
:
ErrorSeverity
;
category
:
ErrorCategory
;
}
[]
summary
:
ReturnType
<
typeof
getSummary
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
retirement-calculator - v1.1.0
index
src/RetirementCalculator
src/constants/retirementCalculatorConstants
src/errors/DynamicGlidepathErrors
src/types/retirementCalculatorTypes
Generated using
TypeDoc
Convert errors to API-friendly format.