Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrCodeTemplateNotFound = "TEMPLATE_NOT_FOUND" ErrCodeTemplateInvalid = "TEMPLATE_INVALID" ErrCodeEngineNotFound = "ENGINE_NOT_FOUND" ErrCodeOutputPathInvalid = "OUTPUT_PATH_INVALID" ErrCodeVariableInvalid = "VARIABLE_INVALID" ErrCodePDFGenerationFailed = "PDF_GENERATION_FAILED" ErrCodePDFValidationFailed = "PDF_VALIDATION_FAILED" ErrCodeTimeoutExceeded = "TIMEOUT_EXCEEDED" )
Constants for error codes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PDFGenerationError ¶
type PDFGenerationError struct {
Code string
Message string
Details *api.ErrorDetails
}
Error types for domain-specific errors
func (PDFGenerationError) Error ¶
func (e PDFGenerationError) Error() string
type TemplateProcessingError ¶
type TemplateProcessingError struct {
Code string
Message string
Details *api.ErrorDetails
}
func (TemplateProcessingError) Error ¶
func (e TemplateProcessingError) Error() string
type VariableResolutionError ¶
type VariableResolutionError struct {
Code string
Message string
Details *api.ErrorDetails
}
func (VariableResolutionError) Error ¶
func (e VariableResolutionError) Error() string
Click to show internal directories.
Click to hide internal directories.