<commit_before>export class CompositionError extends Error {
  constructor(classInstance, message, component) {
    super(`@${classInstance}: ${message}`);

    const stackArray = this.stack.split('\n');
    stackArray.splice(1, 2);

    this.stack = stackArray.join('\n');

    if (!process) console.error('Component:', component);

    this.name = 'CompositionError';
  }
}

export class DependencyError extends Error {
  constructor(classInstance, message, activeModule, dependencyModule = false) {
    super(`@${classInstance}: ${message}`);

    const stackArray = this.stack.split('\n');
    stackArray.splice(1, 2);

    this.stack = stackArray.join('\n');

    if (!process) console.error('Active module:', activeModule);
    if (!process && dependencyModule) console.error('Dependency published by module:', dependencyModule);

    this.name = 'DependencyError';
  }
}

export class ManagerError extends Error {
  constructor(classInstance, message, component, activeModule = false) {
    super(`@${classInstance}: ${message}`);

    const stackArray = this.stack.split('\n');
    stackArray.splice(1, 2);

    this.stack = stackArray.join('\n');

    if (!process) console.error('Component:', dependencyModule);
    if (!process && activeModule) console.error('Active module:', activeModule);

    this.name = 'DependencyError';
  }
}<commit_msg>Fix build: Set correct error name<commit_after>export class CompositionError extends Error {
  constructor(classInstance, message, component) {
    super(`@${classInstance}: ${message}`);

    const stackArray = this.stack.split('\n');
    stackArray.splice(1, 2);

    this.stack = stackArray.join('\n');

    if (!process) console.error('Component:', component);

    this.name = 'CompositionError';
  }
}

export class DependencyError extends Error {
  constructor(classInstance, message, activeModule, dependencyModule = false) {
    super(`@${classInstance}: ${message}`);

    const stackArray = this.stack.split('\n');
    stackArray.splice(1, 2);

    this.stack = stackArray.join('\n');

    if (!process) console.error('Active module:', activeModule);
    if (!process && dependencyModule) console.error('Dependency published by module:', dependencyModule);

    this.name = 'DependencyError';
  }
}

export class ManagerError extends Error {
  constructor(classInstance, message, component, activeModule = false) {
    super(`@${classInstance}: ${message}`);

    const stackArray = this.stack.split('\n');
    stackArray.splice(1, 2);

    this.stack = stackArray.join('\n');

    if (!process) console.error('Component:', dependencyModule);
    if (!process && activeModule) console.error('Active module:', activeModule);

    this.name = 'ManagerError';
  }
}
{'fraction_non_alphanumeric': 0.15646757053865884, 'fraction_numerical': 0.004397215097105167, 'mean_word_length': 4.46, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5787825', 'n_tokens_mistral': 787, 'n_tokens_neox': 771, 'n_words': 181}