AUR5002
Error Message
Description
Common Scenarios
Passing Invalid Types
import { HttpClient } from '@aurelia/fetch-client';
const client = new HttpClient();
// ❌ Wrong: Passing a string
client.configure('invalid'); // Throws AUR5002
// ❌ Wrong: Passing a number
client.configure(123); // Throws AUR5002
// ❌ Wrong: Passing null/undefined
client.configure(null); // Throws AUR5002Solutions
1. Use Configuration Callback (Recommended)
2. Use Configuration Object
Debugging Tips
Last updated
Was this helpful?