sickn33/agentic-awesome-skills · error · Error
User not found
Error message
User not found
What it means
Error "User not found" thrown in sickn33/agentic-awesome-skills.
Source
Thrown at skills/javascript-testing-patterns/resources/implementation-playbook.md:149
export class UserService {
private users: Map<string, User> = new Map();
create(user: User): User {
if (this.users.has(user.id)) {
throw new Error('User already exists');
}
this.users.set(user.id, user);
return user;
}
findById(id: string): User | undefined {
return this.users.get(id);
}
update(id: string, updates: Partial<User>): User {
const user = this.users.get(id);
if (!user) {
throw new Error('User not found');
}
const updated = { ...user, ...updates };
this.users.set(id, updated);
return updated;
}
delete(id: string): boolean {
return this.users.delete(id);
}
}
// services/user.service.test.ts
import { describe, it, expect, beforeEach } from 'vitest';
import { UserService } from './user.service';
describe('UserService', () => {
let service: UserService;
View on GitHub (pinned to 58d857988f)
When it happens
Trigger: Thrown at skills/javascript-testing-patterns/resources/implementation-playbook.md:149 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sickn33/agentic-awesome-skills@58d857988f (2026-08-26).
Data as JSON: /api/errors/8975540318c74486.
Report an issue: GitHub.