interface ErrorClassifier

Interface for classifying database errors by platform.

This allows platform-specific error classification logic to be abstracted away from the core ZTD layer.

Methods§

public function isUnknownSchemaError(DatabaseException $e): bool

Check if the exception represents an unknown schema error.

Unknown schema errors include:

  • Unknown column references
  • Non-existent table references
  • Undeclared variables

Parameters

Returns

bool

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Other tests reaching this symbol 1

Relations§

Implemented by 1