# Incompatible Override

> An override that changes a method's expected inputs or outputs, breaking the substitutability of the subtype.

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

## 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)
