Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
api_error('No API Key provided', 'Yeah open the locked door without a key. Shut your facehole, dumbass.');
api_error('API access restricted. Use API_open to open a new API connection with your API Key.', 'You can\'t get none of this sweet, sweet data unless I say so, bitch.');
api_error('An API session is already open.', 'How much fucking permission do you need? You already have it, stop asking for more.');
api_error('Access denied.', 'DON\'T TOUCH ME THERE!');
api_error('No key given.', 'Sure I\'ll store that for you. Just don\'t ask for it back.');
api_error('No value given.', 'Storing this in /dev/null/');
api_error("No post data for that ID.", "Why don't you pick a post that actually exists next time, assbag.");
api_error("No Post ID given.", "What the fuck do you want me to do, guess which post you want?");
api_error('No posts matched your query.', 'If you were looking for NOTHING, you sure as fuck found it.');
api_error('No howMany value.', 'So how many posts do you want? You left it up to me. So I gave you none.');
api_error("No tag given.", "Oh let me just look up NOTHING, that will certainly work, dickless.");
api_error("No data requested.", "What? You thought I was gonna give you an empty data object? HA! Cockshiner.");
api_error("User banned from voting.", "You can't vote because we hate you.");
api_error("User has already voted.", "If you try to votespam, I swear to god I will cut you.");
api_error("Invalid vote type.", "'" . $type . "'? Seriously? Does that look like 'vote' or 'sink' to you? Are you completely fucking illiterate?");
api_error('User banned from submitting.', 'You can\'t submit because we hate you.');
api_error("MySQL error: " . mysql_error(JACKED_DEFAULT_LINK), "What the fuck did you to to my beautiful API you bastard?");
api_error("No decision given.", "Yeah, skip the Decision on Poor DECISIONS. Nice work, dickface.");
api_error("No tags found", "I have no idea how the fuck this is even possible. I blame you though.");
api_error('Login failed.', 'It didn\'t work. Why? Who the fuck knows. It probably hates you.');
api_error('No provider given.', 'What the hell do you want to log into? Nowhere? Here.');
api_error('No comments matched your query.', 'That\'s not even a thing, doucheface.');
api_error('User banned from commenting.', 'You can\'t comment because we hate you.');
api_error('Could not add comment', 'I think your comment was so stupid it broke the site.');
api_error('Username is in use.', 'Stop trying to pretend you\'re one of us you sack of shit.');
api_error('No post ID given.', 'This comment will float in the tubes attached to no post whatsoever forever. Nice work, dickless.');
api_error('No kirby type.', 'WHAT THE FUCK KIND OF KIRBY YOU WANT YOU GOTTA TELL ME NOW GODDAMN SHIT AAAAGH');
api_error("No API action was requested.", "If you want something, fucking ask for it.");
Other issues to consider is that most indexers will not index special characters such as !@#$%^&*()_+[]>< These are desirable searches when looking for source code. Once you realise someone might want to search for List
Searchcode 2.0