Menu
Angular adds error codes, debugging guides

Angular adds error codes, debugging guides

Angular 11.1.0 point release introduces standardised error codes, with error descriptions and debugging guides provided online

Credit: Dreamstime

To improve debugging and help developers solve problems quicker, the developers behind the Angular JavaScript framework have released standardised error codes and debugging guides for the platform.

Error codes are featured in the Angular 11.1.0 release, which was published January 20. The most common Angular error messages have been fitted with standardised error codes, details, and formatting.

Angular error messages start with NG, to help differentiate Angular-specific errors from TypeScript errors and browser messaging. The next number in the message indicates type, with runtime errors beginning with 0 and compiler issues maintaining their existing number space of 1 through 9. The goal of these changes is to help developers recognise framework errors and make them more searchable.

Also added to error messages is a link to angular.io/errors, where you'll find descriptions of the most common errors and guides for debugging them. A series of Angular debugging videos is now available on YouTube.

The Angular 11.1.0 point release, accessible on GitHub, offers performance improvements, enhancements for the compiler and language service, and a multitude of bug fixes. Angular 12, expected to arrive in May, is set to feature more improvements to error messaging and the ng-linker for distributing Ivy libraries to NPM.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags javascript

Events

Why experience is the new battleground for partners

Join us for an exclusive webinar, in association with Hewlett Packard Enterprise and Technology Services Industry Association (TSIA) and learn about the latest industry insights and how technology services continue to evolve to deliver differentiated value, and how partners can be successful in 2021 and beyond.

Featured

Slideshows

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

Hundreds of leaders from the New Zealand IT industry gathered at the Hilton in Auckland on 17 November to celebrate the finest female talent in the Kiwi channel and recognise the winners of the Reseller News Women in ICT Awards (WIICTA) 2020.

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards
Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

The leading female front runners of the New Zealand ICT industry joined together for the annual Reseller News Women in ICT Awards event at the Hilton in Auckland, during which hundreds of guests celebrated 13 outstanding individuals who won awards, chosen from more than 50 finalists representing over 30 organisations.

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards
Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

More than 500 channel leaders gathered in Auckland on 21 October at the ​Reseller News Innovation Awards ​2020 to celebrate the achievements of the New Zealand technology industry's top partners, start-ups, vendors, distributors and individuals.

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners
Show Comments