import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';

/** 异常页面 */
@Component({
  selector: 'nc-exception',
  templateUrl: './nc-exception.page.html',
  styleUrls: ['./nc-exception.page.scss']
})
export class NcExceptionPage implements OnInit {

  /** 描述 */
  _description: any = null;

  constructor(private _activatedRoute: ActivatedRoute) { }

  /** 初始化后 */
  ngOnInit(): void {
    this._description = this._activatedRoute.snapshot.data.extras;
  }

}
