db->lastErrorCode()) { case self::SQLITE_BUSY: return [ExceptionTimeout::class, 'sqliteBusy', $this->db->lastErrorMsg()]; case self::SQLITE_CONSTRAINT: return [ExceptionInput::class, 'constraintViolation', $this->db->lastErrorMsg()]; case self::SQLITE_MISMATCH: return [ExceptionInput::class, 'typeViolation', $this->db->lastErrorMsg()]; default: return [Exception::class, 'engineErrorGeneral', $this->db->lastErrorMsg()]; } } }