+ {/* Error message */}
+
+
+
+ {error.message}
+
+
+
+ {/* Status code */}
+
+
+
+ {error.status !== null ? error.status : "N/A (network error)"}
+
+
+
+ {/* API URL used */}
+
+
+
+ {error.url}
+
+
+
+ {/* Configured API URL */}
+
+
+
+ {error.apiUrl}
+
+
+
+ {/* Model */}
+
+
+
+ {error.model}
+
+
+
+ {/* Prompt */}
+
+
+ {/* Response body */}
+ {error.responseBody && (
+
+
+
+ {error.responseBody}
+
+
+ )}
+
+ {/* Cause (network error details) */}
+ {error.cause && (
+
+
+
+ {error.cause.toString()}
+
+
+ )}
+
+ {/* Timestamp */}
+
+
+ Occurred at: {error.timestamp}
+
+
+
+