created errors structure