- {data: "
- ↵
- ↵
- ↵>
- ↵<html>
- ↵<head>
- ↵ <meta c…white;">Go Back To Homea>
- ↵body>
- ↵html>
- ↵
- ↵", status: 200, config: {…}, statusText: "OK", headers: ƒ, …}
- data: "
- ↵
- ↵
- ↵>
- ↵<html>
- ↵<head>
- ↵ <meta charset="utf-8" />
- ↵ <title>title>
- ↵ <style>
- ↵ body {
- ↵ display: inline-block;
- ↵ background: #00AFF9 url(https://cbwconline.com/IMG/Codepen/Unplugged.png) center/cover no-repeat;
- ↵ height: 100vh;
- ↵ margin: 0;
- ↵ color: white;
- ↵ }
- ↵
- ↵ h1 {
- ↵ margin: .8em 3rem;
- ↵ font: 4em Roboto;
- ↵ }
- ↵
- ↵ p {
- ↵ display: inline-block;
- ↵ margin: .2em 3rem;
- ↵ font: 2em Roboto;
- ↵ }
- ↵ style>
- ↵head>
- ↵<body>
- ↵ <h1>Whoops!h1>
- ↵ <p>Something went wrongp><br /><br />
- ↵
- ↵ <a href="/Home/Index" style="color:white;">Go Back To Homea>
- ↵body>
- ↵html>
- ↵
- ↵"
- status: 200
- headers: ƒ (name)
- config: {method: "GET", transformRequest: Array(1), transformResponse: Array(1), jsonpCallbackParam: "callback", paramSerializer: ƒ, …}
- statusText: "OK"
- xhrStatus: "complete"
- __proto__: Object
- But when I commented/removed that web.config custom error code then this angularjs http call error function working properly, getting expected 404 error.
So How to manag these both kind of errors properly with non dipendencies and non effect on other codes?