Errors of various types may occur in legal proceedings and may or may not constitute grounds for appeal.