# Broken Inheritance

> A subclass that violates its base type's contract, so substituting it breaks callers that rely on the base behavior.

Record: `lex:broken-inheritance`
Kind: anti-pattern
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lex-broken-inheritance

## category

- [SOLID / Object-Oriented Design](https://banes-lab.com/records/lex-category/solid-object-oriented-design.md)

## referenced-by

- [Liskov Substitution Principle (LSP)](https://banes-lab.com/records/arch/liskov-substitution.md)
