Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ library;

import 'dart:typed_data';
import 'package:fory/fory.dart';
import 'package:fory/src/exception/fory_exception.dart';
import 'package:fory/src/fory_exception.dart';
import 'package:test/test.dart';

void main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import 'package:fory/src/codegen/analyze/analysis_type_identifier.dart';
import 'package:fory/src/codegen/analyze/annotation/require_location_level.dart';
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/annotation_exception.dart';
import 'package:fory/src/fory_exception.dart';

class ClassAnnotationAnalyzer {
const ClassAnnotationAnalyzer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import 'package:fory/src/codegen/analyze/annotation/require_location_level.dart'
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/annotation/fory_enum.dart';
import 'package:fory/src/codegen/exception/annotation_exception.dart';
import 'package:fory/src/fory_exception.dart';

class EnumAnnotationAnalyzer {
const EnumAnnotationAnalyzer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import 'package:fory/src/codegen/analyze/analysis_type_identifier.dart';
import 'package:fory/src/codegen/analyze/annotation/require_location_level.dart';
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/annotation_exception.dart';
import 'package:fory/src/fory_exception.dart';
import 'package:fory/src/annotation/fory_key.dart';

class KeyAnnotationAnalyzer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import 'package:fory/src/codegen/analyze/analysis_type_identifier.dart';
import 'package:fory/src/codegen/analyze/annotation/require_location_level.dart';
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/annotation_exception.dart';
import 'package:fory/src/fory_exception.dart';
import 'package:fory/src/const/types.dart';

/// Result of uint annotation analysis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/constructor_param.dart';
import 'package:fory/src/codegen/entity/constructor_params.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/constraint_violation_exception.dart'
import 'package:fory/src/fory_exception.dart'
show
CircularIncapableRisk,
InformalConstructorParamException,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import 'package:fory/src/codegen/analyze/annotation/require_location_level.dart'
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/constructor_params.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/field_exception.dart'
import 'package:fory/src/fory_exception.dart'
show FieldAccessErrorType, FieldAccessException;
import 'package:fory/src/codegen/meta/impl/field_spec_immutable.dart';
import 'package:fory/src/codegen/meta/impl/fields_spec_generator.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import 'package:fory/src/codegen/analyze/interface/field_analyzer.dart';
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/either.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/constraint_violation_exception.dart';
import 'package:fory/src/fory_exception.dart';
import 'package:fory/src/codegen/meta/impl/field_spec_immutable.dart';
import 'package:fory/src/codegen/meta/impl/type_spec_generator.dart';
import 'package:fory/src/codegen/meta/public_accessor_descriptor.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import 'package:analyzer/dart/element/element.dart';
import 'package:fory/src/codegen/analyze/type_analysis_models.dart';
import 'package:fory/src/codegen/analyze/analyzer.dart';
import 'package:fory/src/codegen/entity/either.dart';
import 'package:fory/src/codegen/exception/annotation_exception.dart';
import 'package:fory/src/fory_exception.dart';
import 'package:fory/src/const/dart_type.dart';

class CustomTypeAnalyzer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import 'package:fory/src/codegen/analyze/annotation/require_location_level.dart'
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/either.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/constraint_violation_exception.dart';
import 'package:fory/src/fory_exception.dart';
import 'package:fory/src/const/dart_type.dart';

class TypeSystemAnalyzer {
Expand All @@ -41,7 +41,7 @@ class TypeSystemAnalyzer {
Either<ObjectTypeAnalysis, DartTypeEnum> res =
Analyzer.customTypeAnalyzer.resolveType(element);
if (res.isRight) {
throw UnsupportedTypeException(
throw CodegenUnsupportedTypeException(
locationMark.libPath,
locationMark.clsName,
locationMark.fieldName!,
Expand Down
180 changes: 0 additions & 180 deletions dart/packages/fory/lib/src/codegen/exception/annotation_exception.dart

This file was deleted.

Loading
Loading