<?php

namespace App\DAO\DAOResponse;

interface DAOResponseInterface {
	const SUCESS = 1;
	const RECORD_NOT_FOUND = 2;
	const INSUFFICIENT_DATA = 3;
	const RECORD_IS_LINKED = 4;
	const DATABASE_CONNECTION_ERROR = 5;
	const UNIQUE_KEY_VIOLATED = 6;
	const UNKNOWN_ERROR = 10;
	const INTERNAL_DAO_ERROR = 11;
	const FOREIGN_KEY_DONT_EXISTS = 1452;
	const DUPLICATED_UNIQUE_KEY = 1062;
	const TABLE_DOES_NOT_EXIST = 1146;
	const RESTRICT_FK_UPDATE_OR_DELETION = 1451;
	const UNKNOWN_COLUMN = 1054;
	const ERROR_DELETING = 50;

}