Uses of Record Class
com.alpaca.dto.response.ErrorResponseDTO

Packages that use ErrorResponseDTO
Package
Description
 
  • Uses of ErrorResponseDTO in com.alpaca.exception

    Methods in com.alpaca.exception that return types with arguments of type ErrorResponseDTO
    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<ErrorResponseDTO>
    GlobalExceptionHandler.handleGlobalException(Exception exception, org.springframework.web.context.request.WebRequest webRequest)
    Catches all unhandled exceptions and returns a structured error response with details including the request path, error message, and timestamp.
    org.springframework.http.ResponseEntity<ErrorResponseDTO>
    GlobalExceptionHandler.handleResponseStatusException(org.springframework.web.server.ResponseStatusException exception, org.springframework.web.context.request.WebRequest webRequest)
    Handles ResponseStatusException by passing through its status and reason into a structured error payload.