Errors for graph