()
| 19081 | } |
| 19082 | class InvalidAtomError extends AbstractAtomError { |
| 19083 | get message() { |
| 19084 | return super.message + ` "${this.atom.getAtom()}" does not fit in atomType "${this.atom.atomTypeId}".` |
| 19085 | } |
| 19086 | get suggestionMessage() { |
| 19087 | const suggestion = this.atomSuggestion |
| 19088 | if (suggestion) return `Change "${this.atom.getAtom()}" to "${suggestion}"` |