config/sublime/Packages/Package Control/package_control/show_error.py

12 lines
239 B
Python

import sublime
def show_error(string):
"""
Displays an error message with a standard "Package Control" header
:param string:
The error to display
"""
sublime.error_message(u'Package Control\n\n%s' % string)