/**
 * Admin users resource — domain errors.
 */

export class UserManagementError extends Error {
  constructor(
    public readonly code: 'USER_NOT_FOUND' | 'INVALID_STATE',
    message: string,
  ) {
    super(message);
    this.name = 'UserManagementError';
  }
}
